diff --git a/src/drivers/sqlite-base-driver.ts b/src/drivers/sqlite-base-driver.ts index 73602330..b23fd770 100644 --- a/src/drivers/sqlite-base-driver.ts +++ b/src/drivers/sqlite-base-driver.ts @@ -21,7 +21,7 @@ import { validateOperation } from "@/lib/validation"; export default abstract class SqliteLikeBaseDriver extends BaseDriver { protected escapeId(id: string) { - return id.replace(/"/g, '""'); + return `"${id.replace(/"/g, '""')}"`; } abstract query(stmt: InStatement): Promise;