bravo-formatter
Advanced tools
Comparing version 1.0.10 to 1.0.11
@@ -19,3 +19,3 @@ import { expandPhrases } from '../../expandPhrases.js'; | ||
// Data definition | ||
'CREATE DATABASE', 'CREATE [OR REPLACE | LIVE | WINDOW] VIEW [IF NOT EXISTS]', 'REPLACE TABLE', 'CREATE [OR REPLACE] TABLE [IF NOT EXISTS]', 'CREATE [OR REPLACE] DICTIONARY [IF NOT EXISTS]']); | ||
'CREATE DATABASE', 'CREATE [OR REPLACE | LIVE | WINDOW] VIEW [IF NOT EXISTS]', 'REPLACE TABLE', 'CREATE [OR REPLACE] TABLE [IF NOT EXISTS]', 'CREATE [OR REPLACE] DICTIONARY [IF NOT EXISTS]', 'GRANT CREATE']); | ||
@@ -44,3 +44,3 @@ // 单行,带作用域 | ||
// - update: | ||
'SET', 'SET [DEFAULT] ROLE', 'SHOW']); | ||
'SET', 'SET [DEFAULT] ROLE', 'SHOW', 'SHOW CREATE']); | ||
const reservedSetOperations = expandPhrases(['UNION [ALL | DISTINCT]', 'EXCEPT', 'INTERSECT', 'INTO OUTFILE']); | ||
@@ -47,0 +47,0 @@ |
@@ -45,3 +45,3 @@ import { expandPhrases } from '../../expandPhrases.js'; | ||
// set | ||
'SET', 'SHOW']); | ||
'SET', 'SHOW', 'SHOW CREATE']); | ||
const reservedSetOperations = expandPhrases(['UNION [ALL | DISTINCT]']); | ||
@@ -48,0 +48,0 @@ |
@@ -14,3 +14,3 @@ import { expandPhrases } from '../../expandPhrases.js'; | ||
// Data definition | ||
'CREATE [RECURSIVE] VIEW', 'CREATE [GLOBAL TEMPORARY | LOCAL TEMPORARY | EXTERNAL] TABLE']); | ||
'CREATE [RECURSIVE] VIEW', 'CREATE [GLOBAL TEMPORARY | LOCAL TEMPORARY | EXTERNAL] TABLE', 'GRANT CREATE']); | ||
const onelineClauses = expandPhrases([ | ||
@@ -17,0 +17,0 @@ // - update: |
{ | ||
"name": "bravo-formatter", | ||
"version": "1.0.10", | ||
"version": "1.0.11", | ||
"description": "Format whitespace in a SQL query to make it more readable", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2379633