diff --git a/.changeset/hip-mugs-beam.md b/.changeset/hip-mugs-beam.md new file mode 100644 index 00000000..80aeea1f --- /dev/null +++ b/.changeset/hip-mugs-beam.md @@ -0,0 +1,5 @@ +--- +'@powersync/drizzle-driver': minor +--- + +Added support for casing option. diff --git a/packages/drizzle-driver/src/sqlite/db.ts b/packages/drizzle-driver/src/sqlite/db.ts index 8b36570e..77d2e54c 100644 --- a/packages/drizzle-driver/src/sqlite/db.ts +++ b/packages/drizzle-driver/src/sqlite/db.ts @@ -27,7 +27,7 @@ export function wrapPowerSyncWithDrizzle db: AbstractPowerSyncDatabase, config: DrizzleConfig = {} ): PowerSyncSQLiteDatabase { - const dialect = new SQLiteAsyncDialect(); + const dialect = new SQLiteAsyncDialect({casing: config.casing}); let logger; if (config.logger === true) { logger = new DefaultLogger();