NitroSQLite
react-native-nitro-sqlite-typeormType aliases

TypeOrmNitroSQLiteConnection

TypeScript

Source files: TypeScript

Definition

TypeOrmNitroSQLiteConnection = 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 failures throw synchronously.

On this page