UNPKG

kysely

Version:
21 lines (20 loc) 819 B
/// <reference types="./sqlite-adapter.d.ts" /> import { DialectAdapterBase } from '../dialect-adapter-base.js'; export class SqliteAdapter extends DialectAdapterBase { get supportsTransactionalDdl() { return false; } get supportsReturning() { return true; } async acquireMigrationLock(_db, _opt) { // SQLite only has one connection that's reserved by the migration system // for the whole time between acquireMigrationLock and releaseMigrationLock. // We don't need to do anything here. } async releaseMigrationLock(_db, _opt) { // SQLite only has one connection that's reserved by the migration system // for the whole time between acquireMigrationLock and releaseMigrationLock. // We don't need to do anything here. } }