Sean Corfield
dc240652fc
It's 2021
2021-01-29 16:13:05 -08:00
Sean Corfield
3c4638a269
Support :columns option to filter results in find/get
2020-06-25 12:48:22 -07:00
Sean Corfield
26b8fa1600
Fixes #124 by supporting pagination
...
Support `:all` in `find-by-keys`. Document all these options. Update the
specs.
2020-06-24 19:27:32 -07:00
Sean Corfield
5b15215f83
Address #124 by adding support for top/limit/offset/fetch
...
Also allows find where clause to be nil/empty (instead of generating
invalid SQL).
2020-06-24 18:55:08 -07:00
Sean Corfield
85734ab724
Prep for 1.0.476
...
Extend default options behavior to `next.jdbc.sql` functions.
2020-06-22 23:16:05 -07:00
Sean Corfield
425d1c367c
Extend copyright to 2020
2020-01-01 13:13:41 -08:00
Sean Corfield
205abe2faa
Fixes #81 by splitting next.jdbc.sql
2019-12-11 16:42:28 -08:00
Sean Corfield
5424353f2d
Clarify position on default options
...
I.e., write your own wrapper if you want to globally override options.
2019-07-24 22:49:24 -07:00
Sean Corfield
4457161305
Assert/spec/tests for empty cols in insert-multi!
2019-07-11 12:52:36 -07:00
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