admin/database library

Classes

EventType
Query event types

Extension Types

Database
The Firebase Database service interface. Extends the {@link https://firebase.google.com/docs/reference/js/v8/firebase.database.Database | Database} interface provided by the @firebase/database-compat package.
DataSnapshot
A DataSnapshot contains data from a Database location.
FirebaseAdminDatabase
Firebase Realtime Database.
FirebaseDatabaseError
Firebase Database error code structure. This extends FirebaseError.
OnDisconnect
The onDisconnect class allows you to write or clear data when your client disconnects from the Database server. These updates occur whether your client disconnects cleanly or not, so you can rely on them to clean up data even if a connection is dropped or a client crashes.
Query
A Query sorts and filters the data at a Database location so only a subset of the child data is included. This can be used to order a collection of data by some attribute (for example, height of dinosaurs) as well as to restrict a large list of items (for example, chat messages) down to a number suitable for synchronizing to the client. Queries are created by chaining together one or more of the filter methods defined here.
Reference
A Reference represents a specific location in your Database and can be used for reading or writing data to that Database location.