From 67f39638a091cfa792352e47a20c2370c662bbb0 Mon Sep 17 00:00:00 2001 From: Sean Corfield Date: Mon, 8 Jul 2019 17:22:53 -0700 Subject: [PATCH] Updated insert-multi! doc page to match docstring --- doc/friendly-sql-functions.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/friendly-sql-functions.md b/doc/friendly-sql-functions.md index 31bb636..e753cf0 100644 --- a/doc/friendly-sql-functions.md +++ b/doc/friendly-sql-functions.md @@ -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}) ``` -Note: some database drivers need to be told to rewrite the SQL for this to -be performed as a single, batched operation. In particular, PostgreSQL -requires the `:reWriteBatchedInserts true` option and MySQL requires -`:rewriteBatchedStatement true` (both non-standard JDBC options, of course!). +Note: this expands to a single SQL statement with placeholders for every +value being inserted -- for large sets of rows, this may exceed the limits +on SQL string size and/or number of parameters for your JDBC driver or your +database! ## `query`