@memberjunction/sqlglot-ts 5.30.0 → 5.31.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 +4 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,12 +13,14 @@ A TypeScript wrapper for Python's [sqlglot](https://github.com/tobymao/sqlglot)
|
|
|
13
13
|
|
|
14
14
|
## Prerequisites
|
|
15
15
|
|
|
16
|
-
- **Python 3.9+** with
|
|
16
|
+
- **Python 3.9+** with the pinned dependencies installed:
|
|
17
17
|
|
|
18
18
|
```bash
|
|
19
|
-
pip install
|
|
19
|
+
pip install -r requirements.txt
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
+
Dependencies (`sqlglot`, `fastapi`, `uvicorn`, `pydantic`) are pinned in `requirements.txt` so conversion output is reproducible. See the comments in that file for the upgrade procedure.
|
|
23
|
+
|
|
22
24
|
## Usage
|
|
23
25
|
|
|
24
26
|
```typescript
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/sqlglot-ts",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.31.0",
|
|
4
4
|
"description": "TypeScript wrapper for Python's sqlglot SQL transpiler. Manages a local Python FastAPI microservice to provide deterministic SQL dialect conversion.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|