react-native-nitro-sqliteFunctions
open
API Reference / react-native-nitro-sqlite / open
Function: open()
open(
options):NitroSQLiteConnection
Open or create a database and return a managed connection. Async calls on that connection run in call order. A second managed connection with the same name throws until the first is closed or deleted.
Parameters
options
Database name and optional directory relative to the platform database directory.
Returns
A connection bound to the named database.