@n8n/typeorm
Version:
Data-Mapper ORM for TypeScript, ES7, ES6, ES5. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, MongoDB databases.
27 lines (26 loc) • 716 B
TypeScript
import { BaseDataSourceOptions } from "../../data-source/BaseDataSourceOptions";
export interface AbstractSqliteConnectionOptions extends BaseDataSourceOptions {
/**
* Database type.
*/
readonly type: "sqlite" | "better-sqlite3" | "libsql" | "sqlite-pooled";
/**
* Storage type or path to the storage.
*/
readonly database: string;
/**
* The driver object
* This defaults to require("sqlite3")
*/
readonly driver?: any;
/**
* Encryption key for for SQLCipher.
*/
readonly key?: string;
/**
* Enables WAL mode. By default its disabled.
*
* @see https://www.sqlite.org/wal.html
*/
readonly enableWAL?: boolean;
}