Skip to content

Commit 023343e

Browse files
committed
README: add multiStatements
1 parent c1e44c4 commit 023343e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

+10
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,16 @@ Note that this sets the location for time.Time values but does not change MySQL'
219219

220220
Please keep in mind, that param values must be [url.QueryEscape](http://golang.org/pkg/net/url/#QueryEscape)'ed. Alternatively you can manually replace the `/` with `%2F`. For example `US/Pacific` would be `loc=US%2FPacific`.
221221

222+
##### `multiStatements`
223+
224+
```
225+
Type: bool
226+
Valid Values: true, false
227+
Default: false
228+
```
229+
230+
Allow multiple statements in one query. While this allows batch queries, it also greatly increases the risk of SQL injections.
231+
222232

223233
##### `parseTime`
224234

0 commit comments

Comments
 (0)