Sean Corfield
b64fbf35ff
Fix #30 by adding modified builders
...
Adds `:label-fn` and `:qualifier-fn` options, and `as-modified-*`
builder variants.
2019-06-04 18:01:19 -07:00
Sean Corfield
fdfb0697ec
Address #24 by setting warn on reflection in tests
...
This highlights the reflection on `.close` (in the connection tests).
2019-05-29 09:04:21 -07:00
Sean Corfield
792bf242d7
Add a stub test namespace for specs
...
Just for consistency and completion.
2019-05-26 16:15:33 -07:00
Sean Corfield
6a9df0f4aa
Fix #22 by adding next.jdbc.optional
...
Includes four `as*maps` builders that omit `NULL` columns completely
from the returned row hash maps.
2019-05-25 19:16:30 -07:00
Sean Corfield
adf5a03e05
Address #21 by adding next.jdbc.specs
...
Docs still need to be updated for this!
2019-05-21 21:45:05 -07:00
Sean Corfield
fa73bb800b
Fix tests for 1.0.0-alpha13
2019-05-05 00:04:44 -07:00
Sean Corfield
cf75268087
Rename :gen-fn to :builder-fn
2019-04-24 14:22:35 -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
03b09f6e03
Alpha 5; fixes #12 by adding :order-by option to for-query
2019-04-21 13:42:33 -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
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
2ab35132a7
Document Result Set Builders
...
And sketch out the remaining documentation outline.
2019-04-20 22:00:40 -07:00
Sean Corfield
9b3eeb02d3
Test SQL-level DB functions
2019-04-19 23:25:03 -07:00
Sean Corfield
19dc0e4703
Add test based on record/custom builder
2019-04-19 22:50:29 -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
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