NitroSQLite
react-native-nitro-sqlite-mikro-ormClasses

NitroSQLiteDriver

TypeScript

Source 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.

Extends

  • AbstractSqlDriver<NitroSQLiteConnection>

Constructors

Constructor

new NitroSQLiteDriver(config): NitroSQLiteDriver

Defined in: index.ts:24

Parameters

config

Configuration

The MikroORM configuration for this database.

Returns

NitroSQLiteDriver

Overrides

AbstractSqlDriver<NitroSQLiteConnection>.constructor

On this page