Explorar o código

document multiStatement parameter restriction, fixes #426

Arne Hormann %!s(int64=9) %!d(string=hai) anos
pai
achega
922457ad48
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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`