| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1135,13 +1135,13 @@ added: v22.5.0 | |||
| 1135 | 1135 | without the prefix character. | |
| 1136 | 1136 | ||
| 1137 | 1137 | The names of SQLite parameters begin with a prefix character. By default, | |
| 1138 | - `node:sqlite` requires that this prefix character is present when binding | ||
| 1139 | - parameters. However, with the exception of dollar sign character, these | ||
| 1140 | - prefix characters also require extra quoting when used in object keys. | ||
| 1138 | + `node:sqlite` allows binding named parameters without this prefix character in | ||
| 1139 | + the parameter object. With the exception of the dollar sign character, these | ||
| 1140 | + prefix characters require extra quoting when used in object keys. | ||
| 1141 | 1141 | ||
| 1142 | - To improve ergonomics, this method can be used to also allow bare named | ||
| 1143 | - parameters, which do not require the prefix character in JavaScript code. There | ||
| 1144 | - are several caveats to be aware of when enabling bare named parameters: | ||
| 1142 | + This method enables or disables support for bare named parameters, which do not | ||
| 1143 | + require the prefix character in JavaScript code. There are several caveats to | ||
| 1144 | + be aware of when bare named parameters are enabled: | ||
| 1145 | 1145 | ||
| 1146 | 1146 | * The prefix character is still required in SQL. | |
| 1147 | 1147 | * The prefix character is still allowed in JavaScript. In fact, prefixed names | |
| Back | FazBrowse Home | New Git URL |
0 commit comments