Commit graph

21 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
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
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
03792303bc Fixes #123 by adding type-hinting functions 2020-06-24 11:23:40 -07:00
Sean Corfield
aec0693b14 Default SQL Server DB is model
Also update branch references.
2020-06-16 11:28:27 -07:00
Sean Corfield
8f6844aa5d Fix typo in example 2020-05-25 11:36:23 -07:00
Maxim Penzin
63331e3742 link to jdbc docs 2020-05-08 12:32:21 +08:00
Maxim Penzin
87d051fb56 link to jdbc docs 2020-05-08 12:31:05 +08:00
Maxim Penzin
6604692886 tips-and-tricks: SQL Array as Clojure vector example 2020-05-08 12:19:58 +08:00
Maxim Penzin
8d8c7efebb Parameter type hint in tips-and-tricks 2020-05-08 10:40:53 +08:00
Sean Corfield
aa1c8a4cea Add MySQL-specific streaming tip 2020-04-27 17:48:29 -07:00
Sean Corfield
a3e7b01187 Fixes #103 by documenting timeouts 2020-04-10 12:45:34 -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
74ce12c5c0 Remove bogus type hints
Not sure how/why these ended up in the docs but they are wrong/not 
needed.
2020-04-07 13:45:22 -07:00
Sean Corfield
2574e7e37f Note MySQL handling of BLOB 2020-03-31 11:58:45 -07:00
Sean Corfield
780c759541 Complete support for MariaDB #100
Adds tests and test dependencies, based on a new environment variable. 
Updates change log. Documents difference in generated key return between 
MySQL and MariaDB.
2020-03-16 15:19:21 -07:00
Sean Corfield
ca37ed5106 Remove extra paren from JSON support code 2020-03-09 11:06:56 -07:00
Sean Corfield
3d10e9bdd9 Add mention of next.jdbc.date-time to PostgreSQL Tips & Tricks 2020-03-01 10:14:28 -08:00
Sean Corfield
4d7940a5d3 Reorganize Tips & Tricks after #94 2020-02-28 13:23:06 -08:00