react-native-nitro-sqlite
open({ name }) returns a connection with query, transaction, and cleanup methods. This reference is generated from the React Native package. It documents the shared SQLite API, along with React Native's native interfaces and integration helpers. The NitroUI adapter has its own runtime bindings and setup requirements.
Start with Supported platforms, then follow the React Native guide or NitroUI guide. Use Configuration for React Native's package.json settings, database lifecycle for opening and closing connections, and parameters and results for queries and errors. For the Node-only test export, see Test SQLite in Node.
Hybrid Objects
Enumerations
Classes
Interfaces
- BatchQueryCommand
- BatchQueryResult
- Connection
- ConnectionOptions
- DatabaseChange
- DatabaseChangeSubscription
- FileLoadResult
- NativeQueryResult
- NativeRawQueryResult
- PreparedStatement
- Transaction
TypeOrmConnection
Type Aliases
- DatabaseChangeListener
- DatabaseChangeOperation
- DatabaseQueueKey
- ExecuteAsyncQuery
- ExecutePreparedStatement
- ExecutePreparedStatementAsync
- ExecuteQuery
- ExecuteRawAsyncQuery
- ExecuteRawPreparedStatement
- ExecuteRawPreparedStatementAsync
- ExecuteRawQuery
- NativeQueryResultBinding
- NativeQueryRows
- NativeRawQueryRows
- QueryColumnMetadata
- QueryResult
- QueryResultRow
- QueryResultRows
- SQLiteExceptionType
- SQLiteQueryParams
- SQLiteValue
Variables
Functions
References
NitroSQLiteConnection
Renames and re-exports Connection
Deprecated
Use Connection.
NitroSQLiteConnectionOptions
Renames and re-exports ConnectionOptions
Deprecated
Use ConnectionOptions.
NitroSQLiteError
Renames and re-exports SQLiteError
Deprecated
Use SQLiteError.
NitroSQLiteExceptionType
Renames and re-exports SQLiteExceptionType
Deprecated
Use SQLiteExceptionType.
NitroSQLiteNative
Renames and re-exports NativeSQLite
Deprecated
Use NativeSQLite.
NitroSQLitePreparedStatement
Renames and re-exports NativePreparedStatement
Deprecated
NitroSQLiteQueryColumnMetadata
Renames and re-exports QueryColumnMetadata
Deprecated
Use QueryColumnMetadata.
NitroSQLiteQueryResult
Renames and re-exports NativeQueryResult
Deprecated
Use NativeQueryResult.
NitroSQLiteQueryResultRows
Renames and re-exports QueryResultRows
Deprecated
Use QueryResultRows.
NitroSQLiteQueryRows
Renames and re-exports NativeQueryRows
Deprecated
Use NativeQueryRows.
NitroSQLiteRawQueryResult
Renames and re-exports NativeRawQueryResult
Deprecated
Use NativeRawQueryResult.
NitroSQLiteRawQueryRows
Renames and re-exports NativeRawQueryRows
Deprecated
Use NativeRawQueryRows.
TypeOrmNitroSQLiteConnection
Renames and re-exports TypeOrmConnection
Deprecated
Import TypeOrmNitroSQLiteConnection from
react-native-nitro-sqlite-typeorm on React Native or
nitro-sqlite-typeorm on NitroUI instead.