cl-sql-formatter
Advanced tools
@@ -67,5 +67,9 @@ "use strict"; | ||
| indexedPlaceholderTypes: ['?'], | ||
| //前后有空格 | ||
| namedPlaceholderTypes: [], | ||
| specialWordChars: ['@', '#', '-'], | ||
| lineCommentTypes: ["--"] | ||
| //前有空格,后无,单个/时//会分开 | ||
| specialWordChars: ['@', '#', '/', '|', '\\', '-'], | ||
| //前后无空格 | ||
| lineCommentTypes: ["--"] //前有空格,后无,单个/时//不会分开 | ||
| }); | ||
@@ -72,0 +76,0 @@ } |
+1
-1
| { | ||
| "name": "cl-sql-formatter", | ||
| "version": "4.0.9", | ||
| "version": "4.0.10", | ||
| "description": "Format whitespace in a SQL query to make it more readable", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -372,8 +372,8 @@ import Formatter from '../core/Formatter'; | ||
| closeParens: [')', 'END'], | ||
| indexedPlaceholderTypes: ['?'], | ||
| namedPlaceholderTypes: [], | ||
| specialWordChars: ['@', '#', '-'], | ||
| lineCommentTypes: [`--`], | ||
| indexedPlaceholderTypes: ['?'], //前后有空格 | ||
| namedPlaceholderTypes: [], //前有空格,后无,单个/时//会分开 | ||
| specialWordChars: ['@', '#', '/', '|', '\\', '-'], //前后无空格 | ||
| lineCommentTypes: [`--`] //前有空格,后无,单个/时//不会分开 | ||
| }); | ||
| } | ||
| } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
801449
0.12%8569
0.07%