DatabaseReference
A Firebase reference represents a particular location in your Database and can be used for reading or writing data to that Database location.
This class is the starting point for all Database operations. After you've initialized it with a URL, you can use it to read data, write data, and to create new DatabaseReferences.
Functions
Get a reference to location relative to this one
Creates a query constrained to only return child nodes with a value less than or equal to the given value, using the given orderBy
directive or priority as default.
Creates a query with limit and anchor it to the start of the window.
Creates a query with limit and anchor it to the end of the window.
Provides access to disconnect operations at this location
Creates a query in which child nodes are ordered by the values of the specified path.
Creates a query in which child nodes are ordered by their keys.
Creates a query in which nodes are ordered by their value
Create a reference to an auto-generated child location. The child key is generated client-side and incorporates an estimate of the server's time for sorting purposes. Locations generated on a single client will be sorted in the order that they are created, and will be sorted approximately in order across all clients.
Set the value at this location to 'null'
Run a transaction on the data at this location.
Creates a query constrained to only return child nodes with a value greater than or equal to the given value, using the given orderBy
directive or priority as default.
Update the specific child keys to the specified values. Passing null in a map to updateChildren() will remove the value at the specified location.