Skip to content

Commit

Permalink
Update paramTypes.md
Browse files Browse the repository at this point in the history
  • Loading branch information
0xflotus authored Feb 9, 2025
1 parent 1cd9ea5 commit 66c38a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/paramTypes.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ An object with the following following optional fields:
- **`numbered`**: `Array<"?" | ":" | "$">`. To allow for `?1`, `:2` and/or `$3` syntax for numbered placholders.
- **`named`**: `Array<":" | "@" | "$">`. To allow for `:name`, `@name` and/or `$name` syntax for named placholders.
- **`quoted`**: `Array<":" | "@" | "$">`. To allow for `:"name"`, `@"name"` and/or `$"name"` syntax for quoted placholders.
Note that the type of quotes dependes on the quoted identifiers supported by a dialect.
Note that the type of quotes depends on the quoted identifiers supported by a dialect.
For example in MySQL using `paramTypes: {quoted: [':']}` would allow you to use `` :`name` `` syntax,
while in Transact-SQL `:"name"` and `:[name]` would work instead.
See [identifier syntax wiki page][] for information about differences in support quoted identifiers.
Expand Down

0 comments on commit 66c38a9

Please sign in to comment.