Skip to content

Commit 62b0007

Browse files
tniessenaduh95
authored andcommitted
doc: clarify expandedSQL behavior
I am not sure what exactly the primary use case is for this function given that the Node.js API is not designed for users to manually bind parameters of prepared statements, but this at least clarifies what the function does. PR-URL: #54685 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 68e45b4 commit 62b0007

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/api/sqlite.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,8 @@ added: v22.5.0
198198
* Returns: {string} The source SQL expanded to include parameter values.
199199

200200
This method returns the source SQL of the prepared statement with parameter
201-
placeholders replaced by values. This method is a wrapper around
201+
placeholders replaced by the values that were used during the most recent
202+
execution of this prepared statement. This method is a wrapper around
202203
[`sqlite3_expanded_sql()`][].
203204

204205
### `statement.get([namedParameters][, ...anonymousParameters])`

0 commit comments

Comments
 (0)