rawsql-ts
Version:
High-performance SQL parser and AST analyzer written in TypeScript. Provides fast parsing and advanced transformation capabilities.
7 lines (6 loc) • 361 B
TypeScript
/**
* Detects SQL Server MONEY literals that start with `$` and that use thousands-group formatting.
* This helper coexists with parameter parsing so the tokenizer can decide whether to treat
* `$1,234` as a literal or keep `$1` as a positional parameter.
*/
export declare function looksLikeSqlServerMoneyLiteral(input: string, position: number): boolean;