Commit graph

571 commits

Author SHA1 Message Date
Eric Ihli
c27e9a57e0 Extend ReadableColumn protocol with more rsmeta
There is a use case for needing access to ResultSetMetaData inside
read-column-by-label.

SQLite doesn't have a boolean affinity. It stores booleans as integers 0
or 1, so that's what the JDBC driver gives us, and without access to
ResultSetMetaData we have no way of knowing the intended affinity of the column
that the value came from. But by looking at `getColumnTypeName` on the
ResultSetMetaData and seeing if it's "BOOL", we can perform the
conversion in the ReadableColumn implementations.
2020-07-21 12:56:02 -07:00
Sean Corfield
3143cd1acd Clean up example of default options and tx 2020-07-20 12:51:08 -07:00
Sean Corfield
32e03ad80f Prep for 1.1.569 release 2020-07-10 22:57:41 -07:00
Sean Corfield
9501d9293c Fixes #132 by adding specs 2020-07-10 12:36:32 -07:00
Sean Corfield
0d2d2c78cd
Merge pull request #131 from Briaoeuidhtns/fix-component-spec
Add missing arity to component spec
2020-07-10 12:07:07 -07:00
Brian Brunner
52ade2bce8 Add missing arity to component spec 2020-07-10 01:35:20 -06:00
Sean Corfield
7e8555a2b3 Improve ReadableColumn extension docs
Note that extension via metadata is possible.
2020-07-08 23:11:21 -07:00
Sean Corfield
8f1ba70d8c Document #121 in result set builders 2020-07-08 23:06:44 -07:00
Sean Corfield
d7adfc9d5c Document #121 in friendly SQL functions 2020-07-08 23:03:14 -07:00
Sean Corfield
b56bd27702 Add metadata plan function 2020-07-08 23:02:59 -07:00
Sean Corfield
574280dc1d Explain row realization in more detail 2020-07-08 22:55:50 -07:00
Sean Corfield
e750f20df8 Document #121 for new, optional builders 2020-07-08 22:55:29 -07:00
Sean Corfield
531fb702ad Fix typo 2020-07-08 22:55:06 -07:00
Sean Corfield
35ff47cda5 Add #121 to the change log 2020-07-08 22:30:06 -07: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
37f167eed1 Explain dependence on :cols and :rsmeta in builders 2020-07-07 14:30:27 -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
d443c28817 Fixes #128 by adding a test 2020-07-05 16:11:43 -07:00
Sean Corfield
65296ee4ad Fixes #130 by implementing lookup on the adapters 2020-07-05 15:57:10 -07:00
Sean Corfield
71ea50eff8 Clarify get-by-id example per Vincent Cantin 2020-07-02 09:39:23 -07:00
Sean Corfield
cacb4bdb4a Various documentation updates!
Fixes `:rewriteBatchedStatement`(`s`) for MySQL!
2020-06-30 12:31:28 -07:00
Sean Corfield
7ff03231b8 Clarify combining strategy 2020-06-29 18:22:34 -07:00
Sean Corfield
e918c36789
Typo in 1.0.475 notes 2020-06-29 17:58:39 -07:00
Sean Corfield
150acbfb51 Prep for 1.1.547 2020-06-29 14:03:48 -07:00
Sean Corfield
4a607cbdbb
Merge pull request #127 from seancorfield/nested-tx
Fixes #117 by adding control over the behavior of nested transactions
2020-06-28 15:13:24 -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
1ee2238df8
Merge pull request #126 from seancorfield/multi-rs
Support multiple result sets
2020-06-27 16:13:49 -07:00
Sean Corfield
c09d72f187 Fixes #116 by documenting multiple result sets 2020-06-27 16:10:23 -07:00
Sean Corfield
112f9622bd Clean up CHANGELOG.md 2020-06-27 15:06:19 -07:00
Sean Corfield
b86145f47e Merge branch 'develop' into multi-rs 2020-06-27 15:05:34 -07:00
Sean Corfield
bdf69871fc Merge branch 'nested-tx' of github.com:seancorfield/next-jdbc into nested-tx 2020-06-27 15:05:09 -07:00
Sean Corfield
3ba67c3f3b Merge branch 'develop' into nested-tx 2020-06-27 15:04:30 -07:00
Sean Corfield
53b5619566 Quieten fold tests now I've confirmed performance and thread usage 2020-06-27 14:35:18 -07:00
Sean Corfield
90a6476e52 Use execute-batch! to populate 1000 rows for testing foldable 2020-06-27 14:09:54 -07:00
Sean Corfield
7b24e2ff55 Extensive foldable tests 2020-06-27 13:46:38 -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
d3b51f9cc6 Fixes #125 by supporting fold over plan 2020-06-26 22:28:23 -07:00
Sean Corfield
265c624f81 Merge branch 'foldable' into develop 2020-06-26 22:25:25 -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