Userbase

SDK : OpenDatabase

OpenDatabase lets you retrieve data stored by the users of your web app. 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