Selaa lähdekoodia

Merge pull request #431 from arnehormann/fix-426

document multiStatement parameter restriction, fixes #426
Arne Hormann 9 vuotta sitten
vanhempi
commit
1fca743146
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      README.md

+ 2 - 0
README.md

@@ -231,6 +231,8 @@ Default:        false
 
 Allow multiple statements in one query. While this allows batch queries, it also greatly increases the risk of SQL injections. Only the result of the first query is returned, all other results are silently discarded.
 
+When `multiStatements` is used, `?` parameters must only be used in the first statement.
+
 
 ##### `parseTime`