You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const parseTree =parseSync('SELECT * FROM users WHERE active = true');
118
-
const sql =deparseSync(parseTree);
119
-
// Returns: string - reconstructed SQL query
120
-
```
121
-
122
98
### `fingerprint(sql: string): Promise<string>`
123
99
124
100
Generates a unique fingerprint for a SQL query that can be used for query identification and caching. Returns a Promise for a 16-character fingerprint string.
@@ -195,11 +171,10 @@ The library provides both async and sync methods. Async methods handle initializ
195
171
Async methods handle initialization automatically and are always safe to use:
0 commit comments