Go to console

Callable

  • database(app?: App): Database
  • Gets the Database service for the default app or a given app.

    firebase.database() can be called with no arguments to access the default app's Database service or as firebase.database(app) to access the Database service associated with a specific app.

    firebase.database is also a namespace that can be used to access global constants and methods associated with the Database service.

    example