NitroSQLite
react-native-nitro-sqlitereact-native-nitro-sqlite/mockType aliases

MockConnection

TypeScript

Source files: TypeScript

MockConnection = Pick<NitroSQLiteConnection, "close" | "delete" | "execute" | "executeAsync" | "executeBatch" | "executeBatchAsync" | "prepare" | "transaction">

Connection returned by the Node mock's open() factory. Supports the corresponding managed connection methods and their queue and transaction lifecycle. Files persist across close/reopen until deletion or reset. Attachments and SQL file imports are not supported.

See

NitroSQLiteConnection

On this page