Skip to content

Commit 9c9d84a

Browse files
committed
add namedPlaceholders option to QueryOptions interface
1 parent ef28341 commit 9c9d84a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

typings/mysql/lib/protocol/sequences/Query.d.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ declare namespace Query {
1616
*/
1717
values?: any | any[] | { [param: string]: any };
1818

19+
/**
20+
* This overrides the namedPlaceholders option set at the connection level.
21+
*/
22+
namedPlaceholders?: boolean;
23+
1924
/**
2025
* Every operation takes an optional inactivity timeout option. This allows you to specify appropriate timeouts for
2126
* operations. It is important to note that these timeouts are not part of the MySQL protocol, and rather timeout
@@ -54,7 +59,7 @@ declare namespace Query {
5459

5560
/**
5661
* This overrides the same option set at the connection level.
57-
*
62+
*
5863
*/
5964
rowsAsArray?: boolean
6065
}

0 commit comments

Comments
 (0)