UNPKG

iagate-querykit

Version:

QueryKit: lightweight TypeScript query toolkit with models, views, triggers, events, scheduler and adapters (better-sqlite3).

9 lines (8 loc) 295 B
export class BaseDatabaseAdapter { config; constructor(config) { this.config = config; } getConfig() { return this.config; } async backup(destPath) { return; } async restore(srcPath) { return; } async getConnectionInfo() { return { uptime: 0, activeConnections: 0 }; } }