(query: string)
| 25 | ]); |
| 26 | |
| 27 | function getRawTextGuardError(query: string): string | null { |
| 28 | if (SET_CONFIG_PATTERN.test(query)) { |
| 29 | return 'Changing SQL session configuration is not allowed.'; |
| 30 | } |
| 31 | |
| 32 | return null; |
| 33 | } |
| 34 | |
| 35 | /** |
| 36 | * Initialize the SQL parser WASM module. |
no outgoing calls
no test coverage detected