Skip to content

Commit fd02539

Browse files
committed
doc: add note about exec() and parameters (closes #151)
1 parent 8ccdeb2 commit fd02539

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,10 @@ Any parameters past the first argument will be bound to the statement. When you
119119
pass parameters, the function under the hood instead uses the prepared statement
120120
API.
121121

122+
Note that when the prepared statement API is used, this method only supports one
123+
statement at a time. You cannot execute multiple statements AND pass parameters
124+
at the same time.
125+
122126
See [Binding Parameters](#binding-parameters) for more details.
123127

124128
Alternatively, use the `.sql` tagged template to safely execute SQL with given

0 commit comments

Comments
 (0)