Userbase

Docs : SDK : shareDatabase

shareDatabase lets you share a database with another user.

    
      userbase.shareDatabase({
        databaseName: 'example-database-name',
        username: 'alice'
      }).then(() => {
        // Alice can now access the database
      }).catch((e) => console.error(e))
    
  

Parameters

Notes

Errors