typeorm
Version:
Data-Mapper ORM for TypeScript and ES2023+. Supports MySQL/MariaDB, PostgreSQL, MS SQL Server, Oracle, SAP HANA, SQLite, MongoDB databases.
22 lines (21 loc) • 644 B
TypeScript
import type { BaseDataSourceOptions } from "../../data-source/BaseDataSourceOptions";
/**
* Expo SQLite-specific connection options.
*/
export interface ExpoDataSourceOptions extends BaseDataSourceOptions {
/**
* Database type.
*/
readonly type: "expo";
/**
* Database name.
*/
readonly database: string;
/**
* Driver module. Optional — if omitted, TypeORM will load `expo-sqlite`
* automatically. Pass explicitly when you need to control which instance
* of the module is used (e.g. patch-package, custom wrappers).
*/
readonly driver?: any;
readonly poolSize?: never;
}