Переглянути джерело

Merge pull request #431 from arnehormann/fix-426

document multiStatement parameter restriction, fixes #426
Arne Hormann 9 роки тому
батько
коміт
1fca743146
1 змінених файлів з 2 додано та 0 видалено
  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`