typeorm
Version:
Data-Mapper ORM for TypeScript, ES7, ES6, ES5. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, MongoDB databases.
19 lines (18 loc) • 528 B
TypeScript
import { BaseConnectionOptions } from "../../connection/BaseConnectionOptions";
/**
* Sqlite-specific connection options.
*/
export interface CapacitorConnectionOptions extends BaseConnectionOptions {
/**
* Database type.
*/
readonly type: "capacitor";
/**
* Database name (capacitor-sqlite will add the suffix `SQLite.db`)
*/
readonly database: string;
/**
* The capacitor-sqlite instance. For example, `new SQLiteConnection(CapacitorSQLite)`.
*/
readonly driver: any;
}