Updated insert-multi! doc page to match docstring

This commit is contained in:
Sean Corfield 2019-07-08 17:22:53 -07:00
parent 58aeff56f7
commit 67f39638a0

View file

@ -50,10 +50,10 @@ Given a table name (as a keyword), a vector of column names, and a vector row va
"Aunt Sally" "sour@lagunitas.beer"] {:return-keys true}) "Aunt Sally" "sour@lagunitas.beer"] {:return-keys true})
``` ```
Note: some database drivers need to be told to rewrite the SQL for this to Note: this expands to a single SQL statement with placeholders for every
be performed as a single, batched operation. In particular, PostgreSQL value being inserted -- for large sets of rows, this may exceed the limits
requires the `:reWriteBatchedInserts true` option and MySQL requires on SQL string size and/or number of parameters for your JDBC driver or your
`:rewriteBatchedStatement true` (both non-standard JDBC options, of course!). database!
## `query` ## `query`