Commit graph

623 commits

Author SHA1 Message Date
Sean Corfield
e9e5f9f01f Release 1.0.0-alpha6@d05462895f7cc2b8f3df263e042a7b7ddaf0e213 2019-04-21 17:16:51 -07:00
Sean Corfield
d05462895f Alpha 6; expand testing to multiple DB types
Now tests: Derby, H2 in-memory (as before), H2 on-disk, HSQLDB, and 
SQLite.
2019-04-21 17:12:43 -07:00
Sean Corfield
2702a01773 Multi-DB testing
Instead of just testing against H2 in-memory, we now test against Derby, 
H2 in-memory, H2 on-disk, hsqldb, and SQLite
2019-04-21 17:10:29 -07:00
Sean Corfield
2badd9f835 Big docstring cleanup 2019-04-21 16:13:52 -07:00
Sean Corfield
8c51fc20e6 Rename doc files (to match URL versions); fix all doc links
It feels like it ought to be easier to link between docs and have them 
work on both GitHub and cljdoc!
2019-04-21 14:15:07 -07:00
Sean Corfield
37c570f44c Release 1.0.0-alpha5@03b09f6e0302847f56f81809272af36828822fa3 2019-04-21 13:44:55 -07:00
Sean Corfield
03b09f6e03 Alpha 5; fixes #12 by adding :order-by option to for-query 2019-04-21 13:42:33 -07:00
Sean Corfield
cc0e33413d Add cljdoc badge; fix typo in EDN file 2019-04-21 13:12:21 -07:00
Sean Corfield
c20cceac1d Release 1.0.0-alpha4@c2c798770a8473d5f10b9dddeeafdff6be90f79a 2019-04-21 13:01:53 -07:00
Sean Corfield
c2c798770a Alpha 4; fixes #11 by adding schema meta-quoting function 2019-04-21 13:00:03 -07:00
Sean Corfield
335c335b9d Add TL;DR section; link to alpha builds
Some addition text cleanup.
2019-04-21 12:58:17 -07:00
Sean Corfield
f98c0223ec Links to new docs from README 2019-04-21 01:50:10 -07:00
Sean Corfield
bdbf23a568 Document all (most!) of the differences from clojure.java.jdbc 2019-04-21 01:23:29 -07:00
Sean Corfield
6f637b4e36 Start documenting differences/migration more seriously 2019-04-21 00:48:16 -07:00
Sean Corfield
74308aa085 Release 1.0.0-alpha3@856467465373171befe63e0d6bfff98cb22189a5 2019-04-21 00:05:11 -07:00
Sean Corfield
8564674653 Another attempt to satisfy cljdoc 2019-04-21 00:04:04 -07:00
Sean Corfield
d0afa3f8a6 Release 1.0.0-alpha2@cba8ee7230ad09f173499fdee7e5de6ae4f1eb00 2019-04-20 23:52:37 -07:00
Sean Corfield
cba8ee7230 Correct SCM for cljdoc 2019-04-20 23:49:26 -07:00
Sean Corfield
659d3afddb Release 1.0.0-alpha1@214470bf9db1254f36860cd53444995c09729f6f 2019-04-20 23:44:10 -07:00
Sean Corfield
214470bf9d Use auto_increment so H2 will return generated keys
Also update the result set builder used in one test
2019-04-20 23:42:22 -07:00
Sean Corfield
c229fa28e0 Document all the options for the library! 2019-04-20 23:34:36 -07:00
Sean Corfield
ea7d42741b Note SettableParameter can be extended via metadata 2019-04-20 23:34:19 -07:00
Sean Corfield
2f03b73e2c Document transaction handling 2019-04-20 22:51:16 -07:00
Sean Corfield
d688e639d0 Document prepared statement handling 2019-04-20 22:28:21 -07:00
Sean Corfield
2ab35132a7 Document Result Set Builders
And sketch out the remaining documentation outline.
2019-04-20 22:00:40 -07:00
Sean Corfield
954ef5ad47 Add cljdoc config 2019-04-20 17:55:31 -07:00
Sean Corfield
4640da228a Document next.jdbc.sql namespace 2019-04-20 17:55:16 -07:00
Sean Corfield
61482eedeb Ignore example H2 DB files 2019-04-20 17:54:58 -07:00
Sean Corfield
3102e9a074 Fix typo in Getting Started 2019-04-20 17:53:59 -07:00
Sean Corfield
684521ab1e Initial Getting Started documentation 2019-04-20 16:03:32 -07:00
Sean Corfield
6e1dba1bce Fix user (name) property 2019-04-20 16:03:01 -07:00
Sean Corfield
579558f5be Create pom.xml for upcoming deployment 2019-04-20 11:46:02 -07:00
Sean Corfield
9b3eeb02d3 Test SQL-level DB functions 2019-04-19 23:25:03 -07:00
Sean Corfield
228335d2f3 Turn all the examples into tests 2019-04-19 22:51:48 -07:00
Sean Corfield
f691d59be7 Update set-parameters docstring
Uses set-parameter and SettableParameter now, not `.setObject`
2019-04-19 22:51:05 -07:00
Sean Corfield
19dc0e4703 Add test based on record/custom builder 2019-04-19 22:50:29 -07:00
Sean Corfield
3588d526fa execute-all should return a vector even for update counts 2019-04-19 22:50:10 -07:00
Sean Corfield
d3e643053d Tell Joker (linter) about with-transaction 2019-04-19 22:49:24 -07:00
Sean Corfield
e3c193e936 Add a test for -execute-all 2019-04-19 21:59:42 -07:00
Sean Corfield
12e396683c Add tests for map-like reducible! result set
Ensures basic associative/lookup access do not cause row building; 
ensures assoc/seq produce real maps; ensure datafiable-row produces a 
real map with metadata.
2019-04-19 21:53:55 -07:00
Sean Corfield
bfda745a70 Add row builder tests; fix row builder bug in execute-one 2019-04-18 23:03:09 -07:00
Sean Corfield
d5ee7defd9 Test cleanup 2019-04-18 22:43:27 -07:00
Sean Corfield
d4f79a68fd Add datafication tests; fix regex bug! 2019-04-18 22:43:19 -07:00
Sean Corfield
42cfe88859 Stub test namespaces
Outline some of the things we might test.
2019-04-18 21:51:58 -07:00
Sean Corfield
3b0b059f62 Add connection tests
Improve handling of relative files with H2 database connections.
2019-04-18 21:35:38 -07:00
Sean Corfield
d59b1ec2fb Basic SQL tests and bug fix!
Multi-row insert did not apply `:column-fn` correctly.
2019-04-18 18:31:15 -07:00
Sean Corfield
67a2d3918c Basic quoted tests 2019-04-18 18:30:38 -07:00
Sean Corfield
e1fa7055b4 Stub test namespaces
Yes, real tests are coming soon...
2019-04-18 14:15:15 -07:00
Sean Corfield
2cd9e9372d Fix docstring typos 2019-04-18 14:09:07 -07:00
Sean Corfield
e85cbf7c95 Make datafy/nav implementation more robust
Also some documentation cleanup
2019-04-18 14:06:14 -07:00