Commit graph

454 commits

Author SHA1 Message Date
Sean Corfield
ace912c867 Depends on local clojure.java.data 2020-05-31 14:13:55 -07:00
Sean Corfield
ab588070e6 Datafy parameter metadata 2020-05-31 12:23:31 -07:00
Sean Corfield
4be2b7130b Extend datafication and simplify
Handles weird SQLite edge case; datafies Statement and ResultSet; 
improves exception handling in `safe-bean` (but we really need a better 
bean maker).
2020-05-31 03:02:25 -07:00
Sean Corfield
e406c90d6f Test result set metadata 2020-05-31 01:04:29 -07:00
Sean Corfield
0952503860 DatabaseMetaData datafication tests 2020-05-31 00:56:44 -07:00
Sean Corfield
db95d370d8 Linter cleanup 2020-05-31 00:20:00 -07:00
Sean Corfield
332cf4a3ed Fix protocols vs namespace for datafy 2020-05-31 00:19:48 -07:00
Sean Corfield
6a6e42e9af Expand datafy/nav and metadata support (work in progress) 2020-05-30 23:44:18 -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
1b2ce9767e Remove spurious comment in test 2020-05-22 22:43:11 -07:00
Sean Corfield
b0b9e53352 Addresses #110 by adding tests around this scenario 2020-05-22 20:16:40 -07:00
Sean Corfield
860298943c Addresses #110 by adding row-number, column-names
This is a quick sketch that doesn't break the existing tests. 
Documentation and tests coming soon!
2020-05-22 17:11:36 -07:00
Sean Corfield
8e4dbd7bd9 Some clj-kondo cleanup 2020-05-21 18:39:23 -07:00
Sean Corfield
e855246ff3 Add example of execute-batch! with :return-keys 2020-05-20 15:07:15 -07:00
Sean Corfield
18fdefed5d Update testing matrix 2020-05-13 17:23:14 -07:00
Sean Corfield
ec97d0affb Add array handling tip to changelog 2020-05-08 10:34:44 -07:00
Sean Corfield
3c4dd68803
Merge pull request #108 from maxp/master
tips-and-tricks: working with postgresql arrays
2020-05-07 22:28:26 -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
Sean Corfield
9d5d9d1461
Merge pull request #107 from maxp/master
Parameter type hint in tips-and-tricks
2020-05-07 20:00:58 -07: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
8068afab5c Note Component support in the change log 2020-04-28 17:36:03 -07:00
Sean Corfield
66fdba4be9 Provide built-in support for Stuart Sierra's Component library
Needs documenting!
2020-04-28 17:34:25 -07:00
Sean Corfield
905f7c3e12 Addresses #106 by adding experimental locking in this case 2020-04-27 17:52:11 -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
Sean Corfield
67d2dd4070
Merge pull request #104 from holyjak/patch-3
Clarify timeout is in ms
2020-04-06 10:59:58 -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
315d629202 Fixes #102 by supporting keywords in :return-keys 2020-03-27 16:06:38 -07:00
Sean Corfield
f0c4159bff Support loginTimeout on reified DataSource 2020-03-20 13:51:50 -07:00
Sean Corfield
eda9c93a1c Alpha-order of DB tests 2020-03-18 11:35:18 -07:00
Sean Corfield
9947cf9226 Fixes #101 by tightening ::jdbcUrl spec 2020-03-17 10:28:40 -07:00
Sean Corfield
f314b4e3c4 Force README's link to the GitHub CHANGELOG 2020-03-16 16:39:01 -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
9a1380c632
Merge pull request #100 from green-coder/mariadb
Add default data-source settings for MariaDB.
2020-03-16 09:57:02 -07:00
Vincent Cantin
6f35f84a0e Add default data-source settings for MariaDB. 2020-03-17 00:22:13 +08:00
Sean Corfield
930b5f0384 Prep for 1.0.405 (documentation) 2020-03-14 16:17:17 -07:00