UNPKG

typeorm

Version:

Data-Mapper ORM for TypeScript and ES2023+. Supports MySQL/MariaDB, PostgreSQL, MS SQL Server, Oracle, SAP HANA, SQLite, MongoDB databases.

29 lines (28 loc) 698 B
import type { BaseDataSourceOptions } from "../../data-source/BaseDataSourceOptions"; /** * Sqlite-specific connection options. */ export interface ReactNativeDataSourceOptions extends BaseDataSourceOptions { /** * Database type. */ readonly type: "react-native"; /** * Database name. */ readonly database: string; /** * The driver object * This defaults to require("react-native-sqlite-storage") */ readonly driver?: any; /** * Storage Location */ readonly location: string; readonly poolSize?: never; /** * Encryption key for encryption supported databases */ readonly encryptionKey?: string; }