Commit graph

37 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
32e03ad80f Prep for 1.1.569 release 2020-07-10 22:57:41 -07: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
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
aec0693b14 Default SQL Server DB is model
Also update branch references.
2020-06-16 11:28:27 -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
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
4d7940a5d3 Reorganize Tips & Tricks after #94 2020-02-28 13:23:06 -08:00
bpringe
7357a913a2
Correct "suffices" to "suffixes" 2020-01-17 10:23:46 -08:00
Sean Corfield
c7e2e61bb6 Make "notes" consistent in formatting 2019-11-26 11:12:37 -08:00
Sean Corfield
e2058fb6ae Further caveat on unqualified column names 2019-11-08 11:16:17 -08:00
Sean Corfield
61083eba69 Address #70 by adding/documenting CLOB column reader example 2019-10-14 11:13:36 -07:00
Sean Corfield
222449c9a9 Fixes #68 by clarifying docs around :next.jdbc/update-count 2019-10-01 10:53:23 -07:00
Sean Corfield
8cb05f4495 Fix #63 by adding caveats to qualified column name docs 2019-09-14 18:13:39 -07:00
Sean Corfield
2a5e87cf22 Improve result set builder adapter docs 2019-08-24 09:14:02 -07:00
Sean Corfield
9a76e4c25a Add as-arrays-adapter 2019-08-21 14:47:55 -07:00
Sean Corfield
fed305dd2b Add and document as-maps-adapter 2019-08-21 14:19:32 -07:00
Sean Corfield
0049b007e5 Fixes #54 by adding new section to Getting Started 2019-08-21 13:30:33 -07:00
Sean Corfield
87e44ae6a6 Fixes #52 by using US-locale lower-case function 2019-08-08 17:01:23 -07:00
Sean Corfield
eda2c4c270 Bug fix examples for SettableParameter and ReadableColumn 2019-07-22 16:41:41 -07:00
Sean Corfield
c246c5db6f Clarify SettableParameter and ReadableColumn usage 2019-07-22 15:47:50 -07:00
Sean Corfield
9280b9ab47 Correct code reference 2019-06-12 22:03:26 -07:00
Sean Corfield
22a3f2bb5f Fix #26 by adding datafiable-result-set
This makes handling metadata result sets much easier.
2019-06-08 15:09:42 -07:00
Sean Corfield
88fcaa5869 Add example of custom naming via result set builder 2019-06-06 09:48:00 -07:00
Sean Corfield
b64fbf35ff Fix #30 by adding modified builders
Adds `:label-fn` and `:qualifier-fn` options, and `as-modified-*` 
builder variants.
2019-06-04 18:01:19 -07:00
Sean Corfield
6a9df0f4aa Fix #22 by adding next.jdbc.optional
Includes four `as*maps` builders that omit `NULL` columns completely 
from the returned row hash maps.
2019-05-25 19:16:30 -07:00
Sean Corfield
de0afef813 Prepare for Beta 1
Primarily a documentation update pass, since the code changes were 
already made.
2019-05-24 16:54:10 -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
eb981d5726 Another pass over documentation and docstrings 2019-04-26 22:42:27 -07:00
Sean Corfield
ee2fcc47ab Fixes #17 by changing sql-string to sql-params 2019-04-26 10:34:26 -07:00
Sean Corfield
cf75268087 Rename :gen-fn to :builder-fn 2019-04-24 14:22:35 -07:00
Sean Corfield
b5f0ef4daa Address #15 by documenting new option
The internal `:next.jdbc/sql-string` option is documented as passed into 
the builder functions.
2019-04-24 10:09:07 -07:00
Sean Corfield
13ad917864 Fix #15 by passing SQL string to builders
Adds internal `:next.jdbc/sql-string` option.
2019-04-24 10:07:52 -07:00
Sean Corfield
c43d7f1486 Switch internal links (now that cljdoc has fixed its bug) 2019-04-22 21:18:32 -07:00
Sean Corfield
a0e5c6017a More doc file renaming for cljdoc
Filenames now match the names in the EDN file so that should make life 
simpler!
2019-04-21 17:25:01 -07:00
Renamed from doc/rs-builders.md (Browse further)