react-native-nitro-sqlite-mikro-ormClasses
NitroSQLiteDriver
TypeScriptSource files: TypeScript
MikroORM SQLite driver for React Native. Set dbName to the database file
name and use driverOptions to pass Nitro SQLite open options.
Each ORM connection opens a dedicated native handle on first use and releases it when the ORM closes. SQLite queries run asynchronously. Use the entity manager passed to a transaction callback for every operation in that transaction. Await outstanding queries, dumps and transactions before closing the ORM.
Extends
AbstractSqlDriver<NitroSQLiteConnection>
Constructors
Constructor
new NitroSQLiteDriver(config): NitroSQLiteDriver
Defined in: index.ts:31
Parameters
config
Configuration
The MikroORM configuration for this database.
Returns
NitroSQLiteDriver
Overrides
AbstractSqlDriver<NitroSQLiteConnection>.constructor