Sean Corfield
821f9b1a5a
Fixes #44
...
Also adds `assert`s in SQL-generating functions, instead of just
producing illegal SQL.
2019-07-11 12:11:32 -07:00
Sean Corfield
7184ef996c
Fixes #41 ; Addresses #40 ; Expand prepared statement documentation
...
* Combine adjacent `with-open` calls.
* Show how `set-parameters` is used.
* Add a section on batched parameters, with their caveats, and how to
use them.
2019-07-08 20:48:56 -07:00
Sean Corfield
58aeff56f7
Updated insert-multi! docstring
...
Removed caveat about batching (doesn't apply) but added caveat about
size/parameter limits.
2019-07-08 17:21:28 -07:00
Sean Corfield
85eba1bb2f
Fixes #35 by documenting the DB-specific insert multi options
2019-06-28 19:18:26 -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
eb981d5726
Another pass over documentation and docstrings
2019-04-26 22:42:27 -07:00
Sean Corfield
2badd9f835
Big docstring cleanup
2019-04-21 16:13:52 -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
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
8c508b8416
Documentation cleanup
2019-04-18 13:19:59 -07:00
Sean Corfield
7f2d3479e9
Split :entities into two options
...
`:table-fn` and `:column-fn`
2019-04-18 08:12:56 -07:00
Sean Corfield
5019995feb
Move SQL sugar functions to next.jdbc.sql
...
Make SQL string builder functions private.
2019-04-17 23:56:44 -07:00
Sean Corfield
81be787316
Improve docstrings throughout
2019-04-01 21:31:38 -07:00
Sean Corfield
6e08557d92
Add docstrings to everything
2019-03-31 23:17:12 -07:00
Sean Corfield
8646472e79
Flesh out more SQL generators
...
Add high-level insert!, insert-multi!, update!, delete!
Add more examples to tests.
2019-03-31 19:30:01 -07:00
Sean Corfield
561ccfc621
Add simple SQL generators
2019-03-31 18:22:04 -07:00