mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-12-23 08:21:09 +00:00
10 lines
363 B
TypeScript
10 lines
363 B
TypeScript
import { DatabaseCompat, NativeDatabase, SqliteError, DatabaseOpts } from "@tursodatabase/database-common"
|
|
import { Database as NativeDB } from "#index";
|
|
|
|
class Database extends DatabaseCompat {
|
|
constructor(path: string, opts: DatabaseOpts = {}) {
|
|
super(new NativeDB(path, opts) as unknown as NativeDatabase)
|
|
}
|
|
}
|
|
|
|
export { Database, SqliteError }
|