Commit graph

300 commits

Author SHA1 Message Date
Sean Corfield
03194a68fe remove superfluous prev/next page links
cljdoc adds these automatically now.
2021-07-29 22:56:26 -07:00
Sean Corfield
5a5730a71b improve readability based on feedback 2021-07-19 10:25:32 -07:00
Sean Corfield
1dd46cf1d8 add emphasis 2021-07-18 18:54:58 -07:00
Sean Corfield
f9a05acb16 fixes #171 by documenting tx diffs in migration 2021-07-18 17:14:03 -07:00
Sean Corfield
8e68c1be61 Add JSON caveat with HoneySQL 2021-07-18 16:38:39 -07:00
Sean Corfield
9cd75dc4b2 fixes #169 by expanding with-transaction docs 2021-07-15 20:06:19 -07:00
Sean Corfield
f80fefa6d6 Prep for 1.2.674 2021-06-16 22:51:34 -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
8d02bd68f0 Fix typos in Getting Started 2021-06-02 12:38:43 -07:00
Sean Corfield
aea0d1d22f Document with-logging 2021-05-21 13:49:27 -07:00
Sean Corfield
1177b4ad44 Prep for 1.2.659 2021-05-05 12:49:18 -07:00
Sean Corfield
800baf3085 Fixes #164 by making CSK dependency direct 2021-05-02 19:46:56 -07:00
Snorre Magnus Davøen
fed6e671f9
Document PGInterval to Duration handling for postgres
Postgres supports a non-standard Interval type which is implemented as
the PGInterval type in the postgres jdbc driver. Many users would likely
want to deal with intervals as the standard java.time.Duration type. How
this can be done is documented under tips & tricks.

Signed-off-by: Snorre Magnus Davøen <post@snorre.io>
2021-04-25 13:38:13 +02:00
Sean Corfield
91dda2cdae Document stateful transduce issues: Fixes #149 2021-03-24 23:45:54 -07:00
Sean Corfield
1edba5079a Minor library version updates 2021-03-21 11:55:43 -07:00
Sean Corfield
1d3fd03ae8 Wordsmithing 2021-03-18 14:17:28 -07:00
Sean Corfield
c0c2522e28 Add example JDBC drivers/versions 2021-03-18 14:15:54 -07:00
Sean Corfield
00a6a4561b Prep for 1.1.646 release 2021-03-15 17:13:34 -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
dd62b5fcff Fixes #158 by documenting allowMultiQueries for MySQL 2021-03-06 15:01:05 -08:00
Sean Corfield
abc4d22302 Document next.jdbc.transaction/*nested-tx* fully 2021-03-06 14:28:47 -08:00
Simon Robson
10d6925efd Typos 2021-02-15 11:49:43 +07:00
Kimmo Koskinen
e956428ac4
Add rs/ alias to clob->string example 2021-02-01 19:03:16 +02: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
8d3758b5aa Minor version/tooling updates 2021-01-29 13:16:46 -08:00
Lauri Oherd
1ed8bfcebd fix some typos 2021-01-05 14:08:40 +02:00
alexandrkozyrev
4bd71d96c9
Update friendly-sql-functions.md 2020-12-16 14:47:15 +03:00
Sean Corfield
5737495c4e Fixes #144; prep for 1.1.613 release 2020-11-05 12:47:21 -08:00
Sean Corfield
3a30e22840 Clarify Clojure 1.10 is a minimum requirement 2020-11-03 09:46:25 -08:00
Sean Corfield
347ad43f0b Prep for 1.1.610 release 2020-10-19 11:17:07 -07:00
Sean Corfield
ef96e04cb6 Add note to with-options to see usage examples/caveats below 2020-09-20 11:43:43 -07:00
Sean Corfield
84fe3ea1af Add nil guard to PG JSON example 2020-09-15 22:46:35 -07:00
Sean Corfield
d042939424 Prep for 1.1.588 2020-09-09 13:11:50 -07:00
Sean Corfield
fdeea5c0e9 Fixes #139 by adding select! and select-one! 2020-09-09 12:29:33 -07:00
Sean Corfield
e9c75a7afd Prep 1.1.582 -- fixes #138 2020-08-05 18:18:30 -07:00
Sean Corfield
4a96165b0b Prep for 1.1.581 release 2020-08-03 18:15:56 -07:00
Sean Corfield
0fcbfcdc74 Add BOOLEAN to SQLite Tips & Tricks example for #134 2020-07-22 16:55:44 -07:00
Sean Corfield
0af209c862 Add plan example for SQLite bool/bit transform 2020-07-22 16:27:36 -07:00
Sean Corfield
c2a18bfea6 Address #134 by documenting builder-adapter workaround for SQLite 2020-07-22 16:23:39 -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
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
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
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
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
150acbfb51 Prep for 1.1.547 2020-06-29 14:03:48 -07:00
Sean Corfield
c09d72f187 Fixes #116 by documenting multiple result sets 2020-06-27 16:10:23 -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
a4a8602af4 Add examples of :columns usage 2020-06-25 13:09:38 -07:00
Sean Corfield
3c4638a269 Support :columns option to filter results in find/get 2020-06-25 12:48:22 -07:00
Sean Corfield
036ed0deba Add example of find :all with pagination 2020-06-24 22:56:06 -07:00
Sean Corfield
7dfcb9f9f6 Document #124 pagination and find :all 2020-06-24 22:48:45 -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
2e1e11c025 Prep for 1.0.478 release 2020-06-24 11:26:14 -07:00
Sean Corfield
03792303bc Fixes #123 by adding type-hinting functions 2020-06-24 11:23:40 -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
ffc15fb1f6 Prep for 1.0.475 release 2020-06-22 16:43:51 -07:00
Sean Corfield
b9b77bb40f Fixes #122 by adding next.jdbc/with-options 2020-06-22 16:38:13 -07:00
Sean Corfield
467a0517bb Remove {} from coord to make it easier to copy'n'paste 2020-06-18 13:03:38 -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
509e065fbf Fixes #115 by providing do-commands example 2020-06-07 10:01:12 -07:00
Sean Corfield
6d362ab611 Prep for 1.0.462 release 2020-05-31 21:41:44 -07:00
Sean Corfield
768ba3ac44 Note impact of datafication on result set metadata function 2020-05-31 21:37:12 -07:00
Sean Corfield
cc3988e773 Document all the new datafy/nav stuff 2020-05-31 21:32:03 -07:00
Sean Corfield
8f6844aa5d Fix typo in example 2020-05-25 11:36:23 -07:00
Sean Corfield
7bbc626950 Prep for 1.0.445 release 2020-05-23 09:43:07 -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
e855246ff3 Add example of execute-batch! with :return-keys 2020-05-20 15:07:15 -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
900703a32a Add component usage to Getting Started 2020-04-29 19:28:59 -07:00
Sean Corfield
aa1c8a4cea Add MySQL-specific streaming tip 2020-04-27 17:48:29 -07:00
Sean Corfield
d3f126145b Reword :fetch-size description
The "zero or negative" wording dates back to `clojure.java.jdbc` and was 
a bit misleading.
2020-04-22 12:41:15 -07:00
Sean Corfield
300681bb78 Prep for 1.0.424 2020-04-10 14:36:34 -07:00
Sean Corfield
90aed503bd More timeout tidying up 2020-04-10 12:50:13 -07:00
Sean Corfield
a3e7b01187 Fixes #103 by documenting timeouts 2020-04-10 12:45:34 -07:00
Sean Corfield
f70d93b156 Surface database metadata handling in Getting Started 2020-04-10 12:07:08 -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
bf6de1d8da Merge branch 'master' of github.com:seancorfield/next-jdbc 2020-04-07 13:45:40 -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
Jakub Holy
e36e94c020
Clarify timeout is in ms 2020-04-06 12:55:31 +02:00
Sean Corfield
2574e7e37f Note MySQL handling of BLOB 2020-03-31 11:58:45 -07:00
Sean Corfield
90da9d16a6 Prep for 1.0.409 release 2020-03-16 15:28:44 -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
930b5f0384 Prep for 1.0.405 (documentation) 2020-03-14 16:17:17 -07:00
Sean Corfield
ca37ed5106 Remove extra paren from JSON support code 2020-03-09 11:06:56 -07:00