noebs

Docs : SDK : openDatabase

openDatabase lets you retrieve your user's data. You also need to have a database open before storing or modifying user data. This API will return a promise that gets resolved once the database becomes available for use.

    userbase.openDatabase({ databaseName, changeHandler })
      .then(() => {
        // the database can now be used
      })
      .catch((e) => console.error(e))
  

Parameters

Errors