DatabaseReference
A location in the database that can be read and written, as the Android SDK's DatabaseReference. Values are the platform's natural types: Map, List, String, Boolean, Long and Double (and the platform SDK's own types on Apple platforms and JS); custom classes are not mapped outside Android.
A location in the database that can be read and written, as the Android SDK's DatabaseReference. Values are the platform's natural types: Map, List, String, Boolean, Long and Double (and the platform SDK's own types on Apple platforms and JS); custom classes are not mapped outside Android.
Types
Called once a write has been acknowledged by the server, or failed with DatabaseError.
Called once a write has been acknowledged by the server, or failed with DatabaseError.
Called once a write has been acknowledged by the server, or failed with DatabaseError.
Called once a write has been acknowledged by the server, or failed with DatabaseError.
Called once a write has been acknowledged by the server, or failed with DatabaseError.
Properties
The changes to the children of this location as a Flow, which fails if the listener is cancelled.
The FirebaseDatabase this reference belongs to.
The FirebaseDatabase this reference belongs to.
The FirebaseDatabase this reference belongs to.
The FirebaseDatabase this reference belongs to.
The FirebaseDatabase this reference belongs to.
The underlying Firebase JS SDK object.
The underlying Firebase JS SDK object.
The JS SDK database the query belongs to (the JS SDK does not expose it on the query).
The JS SDK database the query belongs to (the JS SDK does not expose it on the query).
The parent location, or null at the root.
The parent location, or null at the root.
The parent location, or null at the root.
The parent location, or null at the root.
The parent location, or null at the root.
The reference to the location of this query.
The reference to the location of this query.
The reference to the location of this query.
The reference to the location of this query.
The reference to the location of this query.
The root of the database.
The root of the database.
The root of the database.
The root of the database.
The root of the database.
The data at this location and every change to it as a Flow, which fails if the listener is cancelled.
Functions
Adds listener for the changes to the children of this location; returns it for removeEventListener.
Adds listener for the changes to the children of this location; returns it for removeEventListener.
Adds listener for the changes to the children of this location; returns it for removeEventListener.
Adds listener for the changes to the children of this location; returns it for removeEventListener.
Adds listener for the changes to the children of this location; returns it for removeEventListener.
Adds listener for the data at this location and its changes; returns it for removeEventListener.
Adds listener for the data at this location and its changes; returns it for removeEventListener.
Adds listener for the data at this location and its changes; returns it for removeEventListener.
Adds listener for the data at this location and its changes; returns it for removeEventListener.
Adds listener for the data at this location and its changes; returns it for removeEventListener.
A reference to pathString under this location.
A reference to pathString under this location.
A reference to pathString under this location.
A reference to pathString under this location.
A reference to pathString under this location.
Limits the results to the children whose ordered value is at most value.
Limits the results to the children whose ordered value is at most value.
Limits the results to the children whose ordered value is at most value.
Limits the results to the children whose ordered value is at most value.
Limits the results to the children whose ordered value is at most value.
Limits the results to the children whose ordered value is less than value.
Limits the results to the children whose ordered value is less than value.
Limits the results to the children whose ordered value is less than value.
Limits the results to the children whose ordered value is less than value.
Limits the results to the children whose ordered value is less than value.
The iOS SDK creates a new object per call, so queries are equal when they describe the same location and constraints.
The JS SDK creates a new object per call, so queries are equal when they are of the same location and constraints.
Limits the results to the children whose ordered value equals value.
Limits the results to the children whose ordered value equals value.
Limits the results to the children whose ordered value equals value.
Limits the results to the children whose ordered value equals value.
Limits the results to the children whose ordered value equals value.
Reads the data at this location from the server, falling back to the cache when offline.
Reads the data at this location from the server, falling back to the cache when offline.
Reads the data at this location from the server, falling back to the cache when offline.
Reads the data at this location from the server, falling back to the cache when offline.
Reads the data at this location from the server, falling back to the cache when offline.
Keeps the data of this query synchronized in the persistent cache, even while it has no listener. A no-op on JS, whose SDK has no persistent cache.
Keeps the data of this query synchronized in the persistent cache, even while it has no listener. A no-op on JS, whose SDK has no persistent cache.
Keeps the data of this query synchronized in the persistent cache, even while it has no listener. A no-op on JS, whose SDK has no persistent cache.
A no-op: the JS SDK has no persistent cache to keep a query synchronized in.
A no-op: the JS SDK has no persistent cache to keep a query synchronized in.
The disconnect operations of this location.
The disconnect operations of this location.
The disconnect operations of this location.
The disconnect operations of this location.
The disconnect operations of this location.
Orders the children by the value at path within each of them.
Orders the children by the value at path within each of them.
Orders the children by the value at path within each of them.
Orders the children by the value at path within each of them.
Orders the children by the value at path within each of them.
Orders the children by their keys.
Orders the children by their keys.
Orders the children by their keys.
Orders the children by their keys.
Orders the children by their keys.
Orders the children by their priorities.
Orders the children by their priorities.
Orders the children by their priorities.
Orders the children by their priorities.
Orders the children by their priorities.
Orders the children by their values.
Orders the children by their values.
Orders the children by their values.
Orders the children by their values.
Orders the children by their values.
A reference to a new child with a unique, chronologically ordered key.
A reference to a new child with a unique, chronologically ordered key.
A reference to a new child with a unique, chronologically ordered key.
A reference to a new child with a unique, chronologically ordered key.
A reference to a new child with a unique, chronologically ordered key.
Removes a listener added with addChildEventListener.
Removes a listener added with addValueEventListener.
Removes a listener added with addChildEventListener.
Removes a listener added with addValueEventListener.
Removes a listener added with addChildEventListener.
Removes a listener added with addValueEventListener.
Removes a listener added with addChildEventListener.
Removes a listener added with addValueEventListener.
Removes a listener added with addChildEventListener.
Removes a listener added with addValueEventListener.
Deletes the data at this location.
Deletes the data at this location and calls listener once the server has acknowledged it.
Deletes the data at this location.
Deletes the data at this location and calls listener once the server has acknowledged it.
Deletes the data at this location.
Deletes the data at this location and calls listener once the server has acknowledged it.
Deletes the data at this location.
Deletes the data at this location and calls listener once the server has acknowledged it.
Deletes the data at this location.
Deletes the data at this location and calls listener once the server has acknowledged it.
Runs handler as a transaction on this location, retrying it while the data changes; events fire for local updates.
Runs handler as a transaction on this location; fireLocalEvents controls the events of intermediate states.
Runs handler as a transaction on this location, retrying it while the data changes; events fire for local updates.
Runs handler as a transaction on this location; fireLocalEvents controls the events of intermediate states.
Runs handler as a transaction on this location, retrying it while the data changes; events fire for local updates.
Runs handler as a transaction on this location; fireLocalEvents controls the events of intermediate states.
Runs handler as a transaction on this location, retrying it while the data changes; events fire for local updates.
Runs handler as a transaction on this location; fireLocalEvents controls the events of intermediate states.
Runs handler as a transaction on this location, retrying it while the data changes; events fire for local updates.
Runs handler as a transaction on this location; fireLocalEvents controls the events of intermediate states.
Sets the priority of this location, a String, a Double or null.
Sets the priority of this location and calls listener once the server has acknowledged it.
Sets the priority of this location, a String, a Double or null.
Sets the priority of this location and calls listener once the server has acknowledged it.
Sets the priority of this location, a String, a Double or null.
Sets the priority of this location and calls listener once the server has acknowledged it.
Sets the priority of this location, a String, a Double or null.
Sets the priority of this location and calls listener once the server has acknowledged it.
Sets the priority of this location, a String, a Double or null.
Sets the priority of this location and calls listener once the server has acknowledged it.
Writes value at this location, replacing the current data; null deletes it.
Writes value at this location, replacing the current data; null deletes it.
Writes value at this location, replacing the current data; null deletes it.
Writes value at this location, replacing the current data; null deletes it.
Writes value at this location, replacing the current data; null deletes it.
Limits the results to the children whose ordered value is greater than value.
Limits the results to the children whose ordered value is greater than value.
Limits the results to the children whose ordered value is greater than value.
Limits the results to the children whose ordered value is greater than value.
Limits the results to the children whose ordered value is greater than value.
Limits the results to the children whose ordered value is at least value.
Limits the results to the children whose ordered value is at least value.
Limits the results to the children whose ordered value is at least value.
Limits the results to the children whose ordered value is at least value.
Limits the results to the children whose ordered value is at least value.
Writes the children in update (paths to values; a null value deletes) without replacing the other children.
Writes the children in update (paths to values; a null value deletes) without replacing the other children.
Writes the children in update (paths to values; a null value deletes) without replacing the other children.
Writes the children in update (paths to values; a null value deletes) without replacing the other children.
Writes the children in update (paths to values; a null value deletes) without replacing the other children.