Просмотр исходного кода

Merge pull request #431 from arnehormann/fix-426

document multiStatement parameter restriction, fixes #426
Arne Hormann 9 лет назад
Родитель
Сommit
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`