File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,20 @@ An object with the following following optional fields:
71
71
while in Transact-SQL ` :"name" ` and ` :[name] ` would work instead.
72
72
See [ identifier syntax wiki page] [ ] for information about differences in support quoted identifiers.
73
73
74
+ Note that using this config will override the by default supported placeholders types.
75
+ For example PL/SQL supports numbered (` :1 ` ) and named (` :name ` ) placeholders by default.
76
+ When you provide the following ` paramTypes ` configuration:
77
+
78
+ ``` js
79
+ paramTypes: { positional: true , numbered: [], named: [' :' , ' @' ] }
80
+ ```
81
+
82
+ The result will be:
83
+
84
+ - ` ? ` positional placeholders are supported
85
+ - ` :1 ` numbered placeholders are no more supported
86
+ - ` :name ` is still supported and ` @name ` named placeholder is also supported.
87
+
74
88
## Parameter value substitution
75
89
76
90
This config option can be used together with [ params] [ ] to substitute the placeholders with actual values.
You can’t perform that action at this time.
0 commit comments