NitroSQLite

typeORMDriver

API Reference


API Reference / react-native-nitro-sqlite / typeORMDriver

Variable: typeORMDriver

const typeORMDriver: object

DO NOT USE THIS! THIS IS MEANT FOR TYPEORM If you are looking for a convenience wrapper use connect

Type Declaration

openDatabase

openDatabase: (options, ok, fail) => TypeOrmNitroSQLiteConnection | null

Parameters

options
location?

string

name

string

ok

(db) => void

fail

(msg) => void

Returns

TypeOrmNitroSQLiteConnection | null