React Native Firebase
    Preparing search index...

    Firebase Database package for React Native.

    Access the firebase export from the database package:

    import { firebase } from '@react-native-firebase/database';

    // firebase.database().X

    Using the default export from the database package:

    import database from '@react-native-firebase/database';

    // database().X

    Using the default export from the app package:

    import firebase from '@react-native-firebase/app';
    import '@react-native-firebase/database';

    // firebase.database().X

    database

    Classes

    Module

    The Firebase Database service is available for the default app or a given app.

    Interfaces

    DataSnapshot

    A DataSnapshot contains data from a Database location.

    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.

    ServerValue

    The ServerValue interface provides access to Firebase server values.

    Statics

    Realtime Database statics.

    TransactionResult

    Type Aliases

    EventType
    ThenableReference