prettier-plugin-sql-cst
Advanced tools
Comparing version 0.4.0 to 0.5.0
@@ -17,2 +17,3 @@ "use strict"; | ||
var alter_table_1 = require("./alter_table"); | ||
var analyze_1 = require("./analyze"); | ||
var base_1 = require("./base"); | ||
@@ -25,2 +26,3 @@ var bigquery_1 = require("./bigquery"); | ||
var drop_table_1 = require("./drop_table"); | ||
var explain_1 = require("./explain"); | ||
var expr_1 = require("./expr"); | ||
@@ -30,8 +32,12 @@ var frame_1 = require("./frame"); | ||
var insert_1 = require("./insert"); | ||
var procedural_language_1 = require("./procedural_language"); | ||
var proc_clause_1 = require("./proc_clause"); | ||
var program_1 = require("./program"); | ||
var select_1 = require("./select"); | ||
var sqlite_1 = require("./sqlite"); | ||
var transaction_1 = require("./transaction"); | ||
var trigger_1 = require("./trigger"); | ||
var truncate_1 = require("./truncate"); | ||
var update_1 = require("./update"); | ||
var view_1 = require("./view"); | ||
exports.transformMap = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, alias_1.aliasMap), alter_table_1.alterTableMap), base_1.baseMap), bigquery_1.bigqueryMap), constraint_1.constraintMap), create_table_1.createTableMap), data_type_1.dataTypeMap), delete_1.deleteMap), drop_table_1.dropTableMap), expr_1.exprMap), frame_1.frameMap), index_1.indexMap), insert_1.insertMap), proc_clause_1.procClauseMap), program_1.programMap), select_1.selectMap), truncate_1.truncateMap), update_1.updateMap), view_1.viewMap); | ||
exports.transformMap = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, alias_1.aliasMap), alter_table_1.alterTableMap), analyze_1.analyzeMap), base_1.baseMap), bigquery_1.bigqueryMap), constraint_1.constraintMap), create_table_1.createTableMap), data_type_1.dataTypeMap), delete_1.deleteMap), drop_table_1.dropTableMap), explain_1.explainMap), expr_1.exprMap), frame_1.frameMap), index_1.indexMap), insert_1.insertMap), proc_clause_1.procClauseMap), procedural_language_1.proceduralLanguageMap), program_1.programMap), select_1.selectMap), sqlite_1.sqliteMap), transaction_1.transactionMap), trigger_1.triggerMap), truncate_1.truncateMap), update_1.updateMap), view_1.viewMap); |
{ | ||
"name": "prettier-plugin-sql-cst", | ||
"version": "0.4.0", | ||
"version": "0.5.0", | ||
"description": "Prettier plugin for SQL", | ||
@@ -5,0 +5,0 @@ "author": "Rene Saarsoo <nene@triin.net>", |
@@ -64,3 +64,3 @@ # Prettier plugin SQL-CST [![npm version](https://img.shields.io/npm/v/prettier-plugin-sql-cst)](https://www.npmjs.com/package/prettier-plugin-sql-cst) ![build status](https://github.com/nene/prettier-plugin-sql-cst/actions/workflows/build.yml/badge.svg) | ||
Then use it on SQL files though Prettier command line tool or Prettier extension | ||
Then use it on SQL files through Prettier command line tool or Prettier extension | ||
for your editor of choice. | ||
@@ -104,4 +104,5 @@ | ||
Currently this plugin supports the most common everyday **SQLite** and **BigQuery** syntax. | ||
Formatting of the following SQL statements is fully implemented: | ||
Currently this plugin supports full **SQLite** syntax. | ||
It also supports most of the **BigQuery** syntax. | ||
Specifically the formatting of the following BigQuery SQL statements is fully implemented: | ||
@@ -115,3 +116,3 @@ - SELECT | ||
- CREATE / DROP VIEW | ||
- CREATE / DROP INDEX | ||
- transactions (BEGIN, COMMIT, ROLLBACK) | ||
@@ -118,0 +119,0 @@ [prettier]: https://prettier.io/ |
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
91964
44
1205
123