Sean Corfield
689747eeb6
clarify old execute-batch! docstring
2021-09-14 16:43:00 -07:00
Sean Corfield
9dd848412d
address #174 typo in kw
2021-08-30 16:52:26 +00:00
Sean Corfield
cc975f825d
fixes #174
2021-08-27 23:30:56 -07:00
Sean Corfield
dbe4737270
Addresses #173
2021-07-26 23:04:38 -07:00
Sean Corfield
9cd75dc4b2
fixes #169 by expanding with-transaction docs
2021-07-15 20:06:19 -07:00
Sean Corfield
6fe7d5b91c
Fixes #166 by handling exceptions when logging
2021-06-12 13:47:22 -07:00
Sean Corfield
164572969b
Fixes #167 by adding property separator
2021-06-09 19:14:41 -07:00
Sean Corfield
a568f0fa87
Fix typo in docstring
2021-06-09 17:01:19 -07:00
Sean Corfield
b961ef0451
Add optional result logging and state passthru
2021-05-20 18:37:42 -07:00
Sean Corfield
92db8477bf
Add experimental with-logging wrapper
2021-05-20 17:31:20 -07:00
Sean Corfield
800baf3085
Fixes #164 by making CSK dependency direct
2021-05-02 19:46:56 -07:00
Sean Corfield
7e13e719ce
Fixes #161 by adding batch execution for connectable/SQL
2021-03-15 15:16:59 -07:00
Sean Corfield
c7881fe078
Prep for 1.1.643; switch to com.github.seancorfield
2021-03-06 15:15:41 -08: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
e54044e1e6
Addresses #157 by using the volatile hack
2021-01-29 17:18:10 -08:00
Sean Corfield
dc240652fc
It's 2021
2021-01-29 16:13:05 -08:00
Sean Corfield
a3fe68e3d1
Merge branch 'develop' of github.com:seancorfield/next-jdbc into develop
2021-01-23 15:53:05 -08:00
Sean Corfield
b9a4d0e12d
Add warn-on-reflection where it was missing
2021-01-23 15:53:01 -08:00
Lauri Oherd
1ed8bfcebd
fix some typos
2021-01-05 14:08:40 +02:00
Lauri Oherd
102aed61d4
Fix typo
2021-01-04 06:53:32 +02:00
Sean Corfield
5737495c4e
Fixes #144 ; prep for 1.1.613 release
2020-11-05 12:47:21 -08:00
Sean Corfield
75763ba86f
Refactor and expose reducible/foldable ResultSet access
2020-09-29 12:34:00 -07:00
Sean Corfield
65ec940ccc
Allow for row-build to return metadata
...
Instead of using `with-meta`, use `vary-meta` with `assoc` to _add_
metadata.
2020-09-25 15:45:19 -07:00
Sean Corfield
9cc0577214
Change (supposedly) opaque wrapper used by next.jdbc.types/as-* fns
2020-09-25 15:09:44 -07:00
Sean Corfield
67eadf1bbb
Merge branch 'develop' of github.com:seancorfield/next-jdbc into develop
2020-09-21 11:19:29 -07:00
Sean Corfield
c2ebaa36fd
Addresses #140 by adding duckdb
...
Next I'll see what test changes are needed to make this fully supported.
2020-09-21 11:19:13 -07:00
Sean Corfield
0142b25dc6
Add note to with-options docstring about usage in Getting Started section
2020-09-20 12:17:21 -07:00
Sean Corfield
fdeea5c0e9
Fixes #139 by adding select! and select-one!
2020-09-09 12:29:33 -07:00
Sean Corfield
82a6242419
Revised solution for null metadata
2020-08-20 12:10:41 -07:00
Sean Corfield
9acc198591
Treat null ResultSetMetaData as having no columns
2020-08-20 11:59:07 -07:00
Sean Corfield
e9c75a7afd
Prep 1.1.582 -- fixes #138
2020-08-05 18:18:30 -07:00
Sean Corfield
049f34e311
Fixes #137 by adding user/password arities to get-connection
...
Also calls `.getConnection` with user/password under the hood if those
are present in the `opts` hash map.
2020-07-31 11:56:22 -07:00
Sean Corfield
734c4bfada
Fixes #133 by adding :return-generated-keys to execute-batch!
2020-07-22 13:01:51 -07: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
931023de09
Address #121 by adding conditional builders/options for CSK
2020-07-08 11:52:22 -07:00
Sean Corfield
5e38494d8b
Fix the ns docstring!
2020-07-07 15:25:00 -07:00
Sean Corfield
8a8a0b2122
Fixes #129 by adding builder-adapter and with-column-value
2020-07-07 14:19:12 -07:00
Sean Corfield
65296ee4ad
Fixes #130 by implementing lookup on the adapters
2020-07-05 15:57:10 -07:00
Sean Corfield
e9c1bda637
Fixes #117 by providing control over nested transactions
2020-06-28 15:10:41 -07:00
Sean Corfield
fbbd2b5d4d
Merge branch 'develop' into nested-tx
2020-06-28 11:42:52 -07:00
Sean Corfield
c09d72f187
Fixes #116 by documenting multiple result sets
2020-06-27 16:10:23 -07:00
Sean Corfield
b86145f47e
Merge branch 'develop' into multi-rs
2020-06-27 15:05:34 -07:00
Sean Corfield
3ba67c3f3b
Merge branch 'develop' into nested-tx
2020-06-27 15:04:30 -07:00
Sean Corfield
99dd44c2ba
Import fj private wrappers from clojure.core.reducers
2020-06-27 12:21:02 -07:00
Sean Corfield
bb0447a14e
Final optimization on stmt-sql return-keys
2020-06-26 23:16:15 -07:00
Sean Corfield
cd3ddc3181
Merge branch 'develop' into multi-rs
2020-06-26 23:11:13 -07:00
Sean Corfield
c4430abe49
Clean up stmt-sql return-keys again
2020-06-26 23:04:27 -07:00
Sean Corfield
d6693a9032
More stmt-sql bug fixing
2020-06-26 22:56:33 -07:00
Sean Corfield
eb5bfef585
Restore opts/:return-keys optimization for stmt-sql
2020-06-26 22:47:44 -07:00
Sean Corfield
217621cb1c
Fix fold statement
2020-06-26 22:43:14 -07:00
Sean Corfield
c36858ca95
Merge branch 'develop' into multi-rs
2020-06-26 22:39:44 -07:00
Sean Corfield
77ebb31026
Interleave combine with batch reductions #125
2020-06-26 22:21:49 -07:00
Sean Corfield
68d8f98d26
Document folding over plan #125
2020-06-26 21:31:43 -07:00
Sean Corfield
efa37ad84f
Use map for some interleaving of combine and join #125
2020-06-26 21:31:28 -07:00
Sean Corfield
469eb0959a
Switch reduce to r/reduce in folding logic #125
2020-06-26 19:32:48 -07:00
Sean Corfield
53ee1c5367
Complete CollFold implementation #125
2020-06-26 19:03:57 -07:00
Sean Corfield
0eb183a0a0
Prototype of #125 -- foldable result sets!
2020-06-26 17:38:58 -07:00
Sean Corfield
a66e87aed0
Merge branch 'develop' into multi-rs
2020-06-25 19:12:11 -07:00
Sean Corfield
3c4638a269
Support :columns option to filter results in find/get
2020-06-25 12:48:22 -07:00
Sean Corfield
4de1d445ec
Address #124 by fixing bug in builder; adding tests
2020-06-24 22:25:28 -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
9d6e7ab145
Remove unused rsn
...
Since I changed the default multi-result-set format, the result set
number is no longer needed.
2020-06-24 12:25:25 -07:00
Sean Corfield
2a8571bb14
Merge branch 'develop' into multi-rs
2020-06-24 12:01:43 -07:00
Sean Corfield
3464fca0a2
Merge branch 'develop' into nested-tx
2020-06-24 11:59:36 -07:00
Sean Corfield
03792303bc
Fixes #123 by adding type-hinting functions
2020-06-24 11:23:40 -07:00
Sean Corfield
7f702c96fe
Merge branch 'develop' into multi-rs
2020-06-22 23:25:12 -07:00
Sean Corfield
c7b4bf06c2
Merge branch 'develop' into nested-tx
2020-06-22 23:24:09 -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
aed1938e89
Merge branch 'develop' into multi-rs
2020-06-22 17:06:01 -07:00
Sean Corfield
7a06e9cca8
Merge develop -> nested-tx
2020-06-22 17:00:01 -07:00
Sean Corfield
b9b77bb40f
Fixes #122 by adding next.jdbc/with-options
2020-06-22 16:38:13 -07:00
Sean Corfield
15ddd15fe9
Remove {} from deps example
2020-06-18 19:14:10 -07:00
Sean Corfield
a56c18d531
Clean up stmt-sql and :return-keys handling
2020-06-07 12:35:03 -07:00
Sean Corfield
067919a296
Roll multi-rs across execute-all for all types
2020-06-07 12:13:32 -07:00
Sean Corfield
92f7923a2a
Merge branch 'master' into multi-rs
...
# Conflicts:
# test/next/jdbc/test_fixtures.clj
2020-06-07 10:05:33 -07:00
Sean Corfield
2d727cc1ac
Merge branch 'master' into nested-tx
2020-06-07 10:03:27 -07:00
Sean Corfield
4045e18f3e
Fix potential reflection warnings from use of next.jdbc.prepare/statement
2020-06-07 10:02:20 -07:00
Sean Corfield
35fc00d4b3
Fixes #119 by improving docstrings
2020-06-07 09:39:04 -07:00
Sean Corfield
326977dddc
:multi-rs truthy defaults to sequnce; :delimited available #116
2020-06-06 17:01:13 -07:00
Sean Corfield
0a27e51f37
First steps to multiple result sets #116
2020-06-06 17:00:52 -07:00
Sean Corfield
7c0cee09bf
Issue #117 sketch of dynamic nested transaction behavior
2020-06-06 16:57:25 -07:00
Sean Corfield
cc3988e773
Document all the new datafy/nav stuff
2020-05-31 21:32:03 -07:00
Sean Corfield
53c3b5f48e
Bump java.data to 1.0.78 and surface configurable exception handling
2020-05-31 17:12:38 -07:00
Sean Corfield
ace912c867
Depends on local clojure.java.data
2020-05-31 14:13:55 -07:00
Sean Corfield
ab588070e6
Datafy parameter metadata
2020-05-31 12:23:31 -07:00
Sean Corfield
4be2b7130b
Extend datafication and simplify
...
Handles weird SQLite edge case; datafies Statement and ResultSet;
improves exception handling in `safe-bean` (but we really need a better
bean maker).
2020-05-31 03:02:25 -07:00
Sean Corfield
332cf4a3ed
Fix protocols vs namespace for datafy
2020-05-31 00:19:48 -07:00
Sean Corfield
6a6e42e9af
Expand datafy/nav and metadata support (work in progress)
2020-05-30 23:44:18 -07:00
Sean Corfield
91b1b25475
Fixes #110 by documenting the solution
...
In addition to adding `row-number` and `column-names`, this also adds
support for associative access by numeric key and indexed access.
2020-05-23 00:01:39 -07:00
Sean Corfield
b0b9e53352
Addresses #110 by adding tests around this scenario
2020-05-22 20:16:40 -07:00
Sean Corfield
860298943c
Addresses #110 by adding row-number, column-names
...
This is a quick sketch that doesn't break the existing tests.
Documentation and tests coming soon!
2020-05-22 17:11:36 -07:00
Sean Corfield
8e4dbd7bd9
Some clj-kondo cleanup
2020-05-21 18:39:23 -07:00
Sean Corfield
66fdba4be9
Provide built-in support for Stuart Sierra's Component library
...
Needs documenting!
2020-04-28 17:34:25 -07:00
Sean Corfield
905f7c3e12
Addresses #106 by adding experimental locking in this case
2020-04-27 17:52:11 -07:00
Sean Corfield
2fd27d18bd
Improve documentation around next.jdbc.date-time
...
Expands the documentation around each place it is referenced. Expands
the namespace docstring. Adds a mention of it to the result-set
namespace docstring.
2020-04-07 14:29:37 -07:00
Sean Corfield
315d629202
Fixes #102 by supporting keywords in :return-keys
2020-03-27 16:06:38 -07:00
Sean Corfield
f0c4159bff
Support loginTimeout on reified DataSource
2020-03-20 13:51:50 -07:00
Sean Corfield
9947cf9226
Fixes #101 by tightening ::jdbcUrl spec
2020-03-17 10:28:40 -07:00