Sean Corfield
cd67997561
Prep for 1.0.4
2019-07-24 22:53:07 -07:00
Sean Corfield
5424353f2d
Clarify position on default options
...
I.e., write your own wrapper if you want to globally override options.
2019-07-24 22:49:24 -07:00
Sean Corfield
9372ce11cd
Fix #50 by testing against (embedded) PostgreSQL
...
This is the first database that returns lowercase columns in results so
there are a lot of conditionals in the tests now. It also returns entire
rows on inserts instead of just the generated key.
2019-07-24 17:32:58 -07:00
Sean Corfield
097cdf7d28
Improve connection pooling docs
2019-07-24 15:45:16 -07:00
Sean Corfield
9e8477bd4b
Prep for 1.0.3 release
2019-07-23 19:02:55 -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
1b8e4b8c9c
Merge branch 'master' of github.com:seancorfield/next-jdbc
2019-07-22 15:12:19 -07:00
Sean Corfield
5c21d17dec
Add example of extending SettableParameter
2019-07-22 15:12:14 -07:00
Sean Corfield
4f147bdcb9
More documentation tweaks
...
Mostly about `execute-batch!`.
2019-07-20 19:26:06 -07:00
Sean Corfield
8c98f60a30
Misc doc improvements
2019-07-20 16:55:20 -07:00
Sean Corfield
c9a9310449
Update test deps
2019-07-19 12:33:45 -07:00
Sean Corfield
05d9b06ddc
Note Connection Pooling stuff is coming in 1.0.3
2019-07-18 12:25:09 -07:00
Sean Corfield
b3f462e90b
Fixes #48 by documenting connection/->pool
2019-07-18 12:12:09 -07:00
Sean Corfield
5cadd9248b
Improve migration docs for with-transaction
2019-07-16 12:36:19 -07:00
Sean Corfield
8e4ef3033c
Note :none as possible value for :host
2019-07-15 13:51:23 -07:00
Sean Corfield
7306e5ed3a
Prep for 1.0.2 release
2019-07-15 13:45:00 -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
e361f875c1
Add sections to make Getting Started easier to navigate
2019-07-11 15:11:26 -07:00
Sean Corfield
79d6f5ef29
Improve documentation around :dbtype
...
Expose `next.jdbc.connection/dbtypes` which is a table of all known
`:dbtype` values and their driver class names, ports, etc.
2019-07-10 11:54:13 -07:00
Sean Corfield
29d46439e6
Fixes #40 by adding next.jdbc.prepare/execute-batch!
2019-07-09 16:00:10 -07:00
Sean Corfield
7184ef996c
Fixes #41 ; Addresses #40 ; Expand prepared statement documentation
...
* Combine adjacent `with-open` calls.
* Show how `set-parameters` is used.
* Add a section on batched parameters, with their caveats, and how to
use them.
2019-07-08 20:48:56 -07:00
Sean Corfield
67f39638a0
Updated insert-multi! doc page to match docstring
2019-07-08 17:22:53 -07:00
Sean Corfield
89af17ef31
Prep for 1.0.1 release
2019-07-03 20:30:29 -07:00
Sean Corfield
1fe7e92df2
Fixes #34 by adding save point tests
...
And updating the Transactions documentation to show save point examples.
2019-07-02 18:36:00 -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
Sean Corfield
85eba1bb2f
Fixes #35 by documenting the DB-specific insert multi options
2019-06-28 19:18:26 -07:00
Sean Corfield
9280b9ab47
Correct code reference
2019-06-12 22:03:26 -07:00
Sean Corfield
5448d49d74
Prep for 1.0.0 gold release
2019-06-12 21:49:09 -07:00
Sean Corfield
a09612cebe
Some doc clarifications
2019-06-08 18:11:16 -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
8405193209
Improve migration docs
2019-06-04 18:39:18 -07:00
Sean Corfield
3b5bfc6d17
Prep for 1.0.0-rc1 release
2019-06-04 18:03:44 -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
c833287270
Merge pull request #28 from jameslintaylor/master
...
Correct documentation for `transact` and `with-transaction`
2019-06-03 09:37:02 -06:00
Sooheon Kim
cbcd419672
Tiny typo in docs
2019-06-02 21:20:14 -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
a43c2876d3
Attempt to clarify differences in option handling
2019-05-25 21:14:29 -07:00
Sean Corfield
d4e5ed6ee4
Correct :as-arrays? migration note
2019-05-25 19:19: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
146539528a
Include spec support in Getting Started for #21
2019-05-21 22:17:35 -07:00
Sean Corfield
45f25d1912
Clean up and small doc improvements
2019-05-10 14:17:49 -07:00
Sean Corfield
ff94962e27
Fixes #18 by cleaning up connection properties better.
2019-05-04 23:59:48 -07:00
Sean Corfield
2d045b0c95
Alpha 12; fixes #17 ; improves docs
2019-04-26 22:46:42 -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
adc1abab8d
Prep for 1.0.0-alpha11 release
...
cljdoc failed on alpha10 because `cljdoc.edn` had the wrong filename.
2019-04-24 16:05:03 -07:00