File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -228,7 +228,7 @@ Or when using the VSCode extension: Settings -> SQL-Formatter-VSCode: SQLFlavour
228228
229229### Module parse failed: Unexpected token
230230
231- This typically happens when bundling an appication with Webpack.
231+ This typically happens when bundling an application with Webpack.
232232The cause is that Babel (through ` babel-loader ` ) is not configured
233233to support class properties syntax:
234234
@@ -264,7 +264,7 @@ SELECT {col1}, {col2} FROM {tablename}
264264
265265While templating is not directly supported by SQL Formatter, the workaround
266266is to use [ paramTypes] ( docs/paramTypes.md ) config option to treat these
267- occurances of templating constructs as prepared-statement parameter-placeholders:
267+ occurrences of templating constructs as prepared-statement parameter-placeholders:
268268
269269``` js
270270format (' SELECT {col1}, {col2} FROM {tablename};' , {
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ An object with the following following optional fields:
6666- ** ` numbered ` ** : ` Array<"?" | ":" | "$"> ` . To allow for ` ?1 ` , ` :2 ` and/or ` $3 ` syntax for numbered placholders.
6767- ** ` named ` ** : ` Array<":" | "@" | "$"> ` . To allow for ` :name ` , ` @name ` and/or ` $name ` syntax for named placholders.
6868- ** ` quoted ` ** : ` Array<":" | "@" | "$"> ` . To allow for ` :"name" ` , ` @"name" ` and/or ` $"name" ` syntax for quoted placholders.
69- Note that the type of quotes dependes on the quoted identifiers supported by a dialect.
69+ Note that the type of quotes depends on the quoted identifiers supported by a dialect.
7070 For example in MySQL using ` paramTypes: {quoted: [':']} ` would allow you to use `` :`name` `` syntax,
7171 while in Transact-SQL ` :"name" ` and ` :[name] ` would work instead.
7272 See [ identifier syntax wiki page] [ ] for information about differences in support quoted identifiers.
You can’t perform that action at this time.
0 commit comments