Skip to content
This repository was archived by the owner on Sep 7, 2022. It is now read-only.
This repository was archived by the owner on Sep 7, 2022. It is now read-only.

[firebase_database]: connect to different database of app #401

Open
@deepak786

Description

@deepak786

How can I connect to another database of the same app?

I can get the database instance with the below code but it always connects to the default database.

var app = fb.initializeApp();
fb.database(app); // this will connect to default database of the app.

https://firebase.google.com/docs/reference/js/database.md#getdatabase

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions