NitroSQLite
nitro-sqlite-typeormType aliases

TypeOrmConnection

TypeScript

Source files: TypeScript

Definition

TypeOrmConnection = TypeOrmConnection

Callback connection owned by a TypeORM react-native DataSource. Queries run asynchronously through executeSql; transactions use Nitro SQLite's managed transaction queue. Close the connection through DataSource.destroy() when the DataSource is no longer needed.

Opening and query failure callbacks preserve the caught error value, even though the legacy callback signature declares a string. Close failures use the failure callback; attachment and detachment failures throw synchronously.

On this page