Skip to content

Commit

Permalink
feat: add bigquery option for language; sql-formatter version up for #…
Browse files Browse the repository at this point in the history
…243 (#244)

Co-authored-by: JounQin <admin@1stg.me>
  • Loading branch information
tim-watcha and JounQin committed Feb 23, 2023
1 parent 63c49a2 commit b13b262
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/tasty-pens-switch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"prettier-plugin-sql": minor
---

feat: add bigquery option for language; sql-formatter version up for #243
5 changes: 5 additions & 0 deletions packages/sql/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@ const SqlPlugin: Plugin<AST | string> = {
value: 'sql',
description: 'Standard SQL: https://en.wikipedia.org/wiki/SQL:2011',
},
{
value: 'bigquery',
description:
'Google Standard SQL (Bigquery): https://cloud.google.com/bigquery',
},
{
value: 'mariadb',
description: 'MariaDB: https://mariadb.com',
Expand Down

0 comments on commit b13b262

Please sign in to comment.