콘솔로 이동

The Firebase Realtime Database service interface.

Do not call this constructor directly. Instead, use admin.database().

See Introduction to the Admin Database API for a full guide on how to use the Firebase Realtime Database service.

Index

Properties

Methods

Properties

app

app: App

Methods

goOffline

  • goOffline(): void
  • Disconnects from the server (all Database operations will be completed offline).

    The client automatically maintains a persistent connection to the Database server, which will remain active indefinitely and reconnect when disconnected. However, the goOffline() and goOnline() methods may be used to control the client connection in cases where a persistent connection is undesirable.

    While offline, the client will no longer receive data updates from the Database. However, all Database operations performed locally will continue to immediately fire events, allowing your application