Commit graph

176 commits

Author SHA1 Message Date
Sean Corfield
3ed1f4b99c expand docs/tests for #206 2022-05-20 11:53:53 -07:00
Ryan Schmukler
003d47ea5e feat: insert-multi! :batch option
Adds support for using a `:batch` option to make `insert-multi!` use
`execute-batch!` instead of `execute!`.
2022-05-20 12:53:23 -05:00
Ryan Schmukler
0531ae0268 feat: insert hashmaps with sql.insert-multi!
Updates the API of `sql/insert-multi!` to support sequences of hash maps
which will automatically be converted into rows and columns.
2022-05-20 12:43:48 -05:00
Sean Corfield
03092d023f fix #204 by adding on-connection macro 2022-04-04 16:54:18 -07:00
Sean Corfield
21a520a8d8 make execute-batch! work for with-logging 2021-12-23 22:00:09 -08:00
Sean Corfield
c4df28bfe8 fix #193 by expanding some specs 2021-12-23 16:42:02 -08:00
Sean Corfield
b76b60d964 update list of visualization tools 2021-10-09 22:56:22 -07:00
Sean Corfield
164572969b Fixes #167 by adding property separator 2021-06-09 19:14:41 -07:00
Sean Corfield
7e13e719ce Fixes #161 by adding batch execution for connectable/SQL 2021-03-15 15:16:59 -07:00
Sean Corfield
dd62b5fcff Fixes #158 by documenting allowMultiQueries for MySQL 2021-03-06 15:01:05 -08: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
dc240652fc It's 2021 2021-01-29 16:13:05 -08:00
Sean Corfield
3b749d3b61 Add save point tests for HikariCP/c3p0 #146 2020-11-13 10:27:32 -08:00
Sean Corfield
9d8e5f808a Make embedded PG db-spec compliant with ->pool Spec 2020-11-13 10:26:53 -08:00
Sean Corfield
5e3657c25f Update REPL loading code to add-lib3 from t.d.a. 2020-10-25 15:03:31 -07:00
Sean Corfield
9cc0577214 Change (supposedly) opaque wrapper used by next.jdbc.types/as-* fns 2020-09-25 15:09:44 -07:00
Sean Corfield
3c50e801bf Add -X function to create the MySQL DB 2020-09-11 20:49:14 -07:00
Sean Corfield
fdeea5c0e9 Fixes #139 by adding select! and select-one! 2020-09-09 12:29:33 -07:00
Sean Corfield
0fcbfcdc74 Add BOOLEAN to SQLite Tips & Tricks example for #134 2020-07-22 16:55:44 -07:00
Sean Corfield
583aa5b545 Add plan bool/bit test to match SQLite Tips & Tricks 2020-07-22 16:35:38 -07:00
Sean Corfield
c2a18bfea6 Address #134 by documenting builder-adapter workaround for SQLite 2020-07-22 16:23:39 -07:00
Sean Corfield
b210cbead7 Address #134 by adding tests around bool/bit types 2020-07-22 15:32:54 -07:00
Sean Corfield
2f89d3d52b Kondo cleanup 2020-07-22 15:32:26 -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
931023de09 Address #121 by adding conditional builders/options for CSK 2020-07-08 11:52:22 -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
d443c28817 Fixes #128 by adding a test 2020-07-05 16:11:43 -07:00
Sean Corfield
65296ee4ad Fixes #130 by implementing lookup on the adapters 2020-07-05 15:57:10 -07:00
Sean Corfield
b86145f47e Merge branch 'develop' into multi-rs 2020-06-27 15:05:34 -07:00
Sean Corfield
53b5619566 Quieten fold tests now I've confirmed performance and thread usage 2020-06-27 14:35:18 -07:00
Sean Corfield
90a6476e52 Use execute-batch! to populate 1000 rows for testing foldable 2020-06-27 14:09:54 -07:00
Sean Corfield
7b24e2ff55 Extensive foldable tests 2020-06-27 13:46:38 -07:00
Sean Corfield
c36858ca95 Merge branch 'develop' into multi-rs 2020-06-26 22:39:44 -07:00
Sean Corfield
265c624f81 Merge branch 'foldable' into develop 2020-06-26 22:25:25 -07:00
Sean Corfield
77ebb31026 Interleave combine with batch reductions #125 2020-06-26 22:21:49 -07:00
Sean Corfield
8085acfcfc Fix conditional PG testing 2020-06-26 19:17:21 -07:00
Sean Corfield
0cc88f816b Make PostgreSQL testing suppressable for systems that cannot run EmbeddedPostgreSQL 2020-06-26 19:13:38 -07:00
Sean Corfield
53ee1c5367 Complete CollFold implementation #125 2020-06-26 19:03:57 -07:00
Sean Corfield
0eb183a0a0 Prototype of #125 -- foldable result sets! 2020-06-26 17:38:58 -07:00
Sean Corfield
25cdb3bc3b Add test of begin/end TSQL script with multiple selects 2020-06-26 15:38:35 -07:00
Sean Corfield
d974ed2313 Merge branch 'develop' into multi-rs 2020-06-25 19:34:20 -07:00
Sean Corfield
9987d84210 Closes #77 by removing the experimental middleware code 2020-06-25 19:22:59 -07:00
Sean Corfield
a66e87aed0 Merge branch 'develop' into multi-rs 2020-06-25 19:12:11 -07:00
Sean Corfield
3c4638a269 Support :columns option to filter results in find/get 2020-06-25 12:48:22 -07:00
Sean Corfield
4de1d445ec Address #124 by fixing bug in builder; adding tests 2020-06-24 22:25:28 -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
5b15215f83 Address #124 by adding support for top/limit/offset/fetch
Also allows find where clause to be nil/empty (instead of generating 
invalid SQL).
2020-06-24 18:55:08 -07:00
Sean Corfield
0cfbb58b2e Clean up multi-rs results
Accept that PostgreSQL does not support this yet.
2020-06-24 12:33:32 -07:00
Sean Corfield
2a8571bb14 Merge branch 'develop' into multi-rs 2020-06-24 12:01:43 -07:00
Sean Corfield
03792303bc Fixes #123 by adding type-hinting functions 2020-06-24 11:23:40 -07:00