Initial commit - Event Planner application
This commit is contained in:
8
node_modules/kysely/dist/esm/dialect/postgres/postgres-query-compiler.js
generated
vendored
Normal file
8
node_modules/kysely/dist/esm/dialect/postgres/postgres-query-compiler.js
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
/// <reference types="./postgres-query-compiler.d.ts" />
|
||||
import { DefaultQueryCompiler } from '../../query-compiler/default-query-compiler.js';
|
||||
const ID_WRAP_REGEX = /"/g;
|
||||
export class PostgresQueryCompiler extends DefaultQueryCompiler {
|
||||
sanitizeIdentifier(identifier) {
|
||||
return identifier.replace(ID_WRAP_REGEX, '""');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user