Commit graph

33 commits

Author SHA1 Message Date
Sean Corfield
d6fe4c1577 fix #264 2023-11-10 13:26:21 -08:00
Sean Corfield
c8cf8c7d2f fix #257 2023-09-15 15:58:18 -07:00
Sean Corfield
3d512a8f04 fix #248 by supporting :port :none 2023-04-13 23:53:45 -07:00
Ryan Schmukler
0531ae0268 feat: insert hashmaps with sql.insert-multi!
Updates the API of `sql/insert-multi!` to support sequences of hash maps
which will automatically be converted into rows and columns.
2022-05-20 12:43:48 -05:00
Sean Corfield
c4df28bfe8 fix #193 by expanding some specs 2021-12-23 16:42:02 -08:00
Sean Corfield
7e13e719ce Fixes #161 by adding batch execution for connectable/SQL 2021-03-15 15:16:59 -07:00
Sean Corfield
a1e51bf007 Fix #157 by adding next.jdbc/execute-batch!
This breaks the circular dependency completely.
`next.jdbc.prepare/execute-batch!` is deprecated.
2021-01-30 16:36:05 -08:00
Sean Corfield
dc240652fc It's 2021 2021-01-29 16:13:05 -08:00
Sean Corfield
9501d9293c Fixes #132 by adding specs 2020-07-10 12:36:32 -07:00
Brian Brunner
52ade2bce8 Add missing arity to component spec 2020-07-10 01:35:20 -06: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
9947cf9226 Fixes #101 by tightening ::jdbcUrl spec 2020-03-17 10:28:40 -07:00
Sean Corfield
425d1c367c Extend copyright to 2020 2020-01-01 13:13:41 -08:00
Sean Corfield
a2ba8ff780 Fixes #82 and adds next.jdbc.prepare/statement 2019-12-20 15:45:22 -08:00
Sean Corfield
d561a7108e Fixes #75 by adding java.sql.Statement support 2019-11-14 16:15:52 -08:00
Sean Corfield
58bdb53f34 Fixes #67 by updating specs for :jdbcUrl 2019-09-27 22:22:23 -07:00
Sean Corfield
e03de7828a Document PR #64
Add to change log, Getting Started, and ns docstring for 
`next.jdbc.specs`. Also note docs in GitHub are for **master** now.
2019-09-14 13:32:34 -07:00
Gerred Dillon
740e1abaaf Add unstrument function to specs
Signed-off-by: Gerred Dillon <hello@gerred.org>
2019-09-14 15:51:46 -04:00
Sean Corfield
b1b2f13ebb Rename jdbc-url to ->pool 2019-07-18 11:01:55 -07:00
Sean Corfield
60c1e6660f Support connection pooling more easily 2019-07-17 23:50:56 -07:00
Sean Corfield
44dba4f29c Fixes #46 by allowing :host :none
Also adds `:dbname-separator` and `:host-prefix` for fine-grained 
control over the JDBC URL format.
2019-07-11 15:43:49 -07:00
Sean Corfield
4457161305 Assert/spec/tests for empty cols in insert-multi! 2019-07-11 12:52:36 -07:00
Sean Corfield
4d7a5a440b Fix #43 by relaxing the spec for insert-multi!
Adds tests for `insert-multi!` that pass sequences instead of vectors.
2019-07-11 12:34:02 -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
3c32bfe13d Fixes #42 by adding specs for next.jdbc.prepare API functions 2019-07-10 12:11:26 -07:00
Sean Corfield
ba4dc837e1 Fixes #33 by improving specs 2019-07-02 18:50:25 -07:00
Sean Corfield
1cec0a2643 Fixes #37; Fixes #36
* Fix `with-transaction` spec and how it invokes `transact` when no 
options map is provided.
* Adds type hint to `with-transaction`.
* Document manual rollback of transactions.
2019-07-02 16:45:48 -07:00
jet
df1c38c03f Correct documentation for transact and with-transaction
Previously both functions were documented as taking a `Connectable`
object. This amends the documentation as well as the fn signature to
take a `Transactable` object.
2019-06-02 12:07:01 -04: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
a32c5b9e66 Address #16 by renaming reducible! to plan for Beta 1 2019-05-22 16:22:14 -07:00
Sean Corfield
656a0d8d9a Add namespace docstring for new specs 2019-05-21 21:55:10 -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