API reference: @salmonui/query-builder/sql
SqlParseErrorclass
import { SqlParseError } from '@salmonui/query-builder/sql';class SqlParseError extends SyntaxError {
readonly position: number;
constructor(message: string, position: number);
}
Thrown for SQL outside the subset toSql writes.
| Name | Signature | Description |
|---|---|---|
position | readonly position: number; | Offset of the offending token in the SQL text. |