(value: string)
| 12 | * Escapes a value for use inside CQL double-quoted strings. |
| 13 | */ |
| 14 | export function escapeCql(value: string): string { |
| 15 | return value.replace(/\\/g, '\\\\').replace(/"/g, '\\"') |
| 16 | } |
| 17 | |
| 18 | /** |
| 19 | * Builds a CQL clause restricting content to the given space keys. |
no test coverage detected