@sqlike/cli 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Command-line client for [sqlike](https://sqlike.com), a deterministic SQL static analyzer and
|
|
4
4
|
advisor (validity, anti-patterns, rewrites, index and schema advice) and query-equivalence checker
|
|
5
|
-
for Postgres, MySQL, MariaDB, SQLite,
|
|
5
|
+
for Postgres, MySQL, MariaDB, SQLite, SQL Server, and DuckDB.
|
|
6
6
|
|
|
7
7
|
This package is a **thin remote client**. It tokenizes your SQL locally, so identifiers and literals
|
|
8
8
|
are masked before anything leaves your machine, and forwards only the tokenized query to the sqlike
|
|
@@ -26,7 +26,7 @@ echo 'SELECT * FROM users WHERE id IN (SELECT uid FROM bans)' \
|
|
|
26
26
|
sqlike diff before.sql after.sql --schema schema.sql
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
Pass `--dialect postgres|mysql|mariadb|sqlite|mssql` (default postgres), `--schema <ddl-file>` for
|
|
29
|
+
Pass `--dialect postgres|mysql|mariadb|sqlite|mssql|duckdb` (default postgres), `--schema <ddl-file>` for
|
|
30
30
|
column and type aware checks, and `--key <api-key>` for higher rate limits. If you have the query's
|
|
31
31
|
`EXPLAIN` output, `--explain <file>` lets the real access paths confirm or dismiss the index
|
|
32
32
|
findings. The schema and the plan are tokenized too.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sqlike/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "CLI for sqlike — deterministic SQL static analysis and query-equivalence checking. A thin remote client that tokenizes locally and forwards to the sqlike API.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sql",
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
"node": ">=18"
|
|
33
33
|
},
|
|
34
34
|
"optionalDependencies": {
|
|
35
|
-
"@sqlike/cli-darwin-arm64": "0.
|
|
36
|
-
"@sqlike/cli-darwin-x64": "0.
|
|
37
|
-
"@sqlike/cli-linux-arm64": "0.
|
|
38
|
-
"@sqlike/cli-linux-x64": "0.
|
|
39
|
-
"@sqlike/cli-win32-x64": "0.
|
|
35
|
+
"@sqlike/cli-darwin-arm64": "0.3.0",
|
|
36
|
+
"@sqlike/cli-darwin-x64": "0.3.0",
|
|
37
|
+
"@sqlike/cli-linux-arm64": "0.3.0",
|
|
38
|
+
"@sqlike/cli-linux-x64": "0.3.0",
|
|
39
|
+
"@sqlike/cli-win32-x64": "0.3.0"
|
|
40
40
|
}
|
|
41
41
|
}
|