aboutsummaryrefslogtreecommitdiff
path: root/src/tools/sql-prettify/index.ts
diff options
context:
space:
mode:
authorGravatar Corentin Thomasset <corentin.thomasset74@gmail.com> 2022-07-24 14:37:27 +0200
committerGravatar Corentin Thomasset <corentin.thomasset74@gmail.com> 2022-07-24 14:37:27 +0200
commitd1f95f5b34a4570f1033a5289f0bd009d1aefb0c (patch)
treea89a02a805676b0ff359a90e922881ca2c4b3e92 /src/tools/sql-prettify/index.ts
parent6cd25a743e32fceeaec8c1f8b94927a9c5d901f1 (diff)
downloadit-tools-d1f95f5b34a4570f1033a5289f0bd009d1aefb0c.tar.gz
it-tools-d1f95f5b34a4570f1033a5289f0bd009d1aefb0c.tar.zst
it-tools-d1f95f5b34a4570f1033a5289f0bd009d1aefb0c.zip
feat(new-tool): added an SQL prettifier and formatter
Diffstat (limited to 'src/tools/sql-prettify/index.ts')
-rw-r--r--src/tools/sql-prettify/index.ts26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/tools/sql-prettify/index.ts b/src/tools/sql-prettify/index.ts
new file mode 100644
index 0000000..426845f
--- /dev/null
+++ b/src/tools/sql-prettify/index.ts
@@ -0,0 +1,26 @@
+import { Database } from '@vicons/tabler';
+import { defineTool } from '../tool';
+
+export const tool = defineTool({
+ name: 'SQL prettify and format',
+ path: '/sql-prettify',
+ description: 'Format and prettify your SQL queries online (it supports various SQL dialects).',
+ keywords: [
+ 'sql',
+ 'prettify',
+ 'beautify',
+ 'GCP BigQuery',
+ 'IBM DB2',
+ 'Apache Hive',
+ 'MariaDB',
+ 'MySQL',
+ 'Couchbase N1QL',
+ 'Oracle PL/SQL',
+ 'PostgreSQL',
+ 'Amazon Redshift',
+ 'Spark',
+ 'SQL Server Transact-SQL',
+ ],
+ component: () => import('./sql-prettify.vue'),
+ icon: Database,
+});