Query
A read of a location with ordering and filtering, as the Android SDK's Query. Listeners are called on the thread the platform SDK delivers events on. keepSynced is in nonJsMain (the JS SDK has no equivalent).
Inheritors
Properties
The changes to the children of this location as a Flow, which fails if the listener is cancelled.
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 reference to the location of this query.
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 data at this location and its changes; returns it for removeEventListener.
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.
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.
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.
Orders the children by their keys.
Orders the children by their priorities.
Orders the children by their values.
Removes a listener added with addChildEventListener.
Removes a listener added with addValueEventListener.
The SDK's values flow (see DataSnapshot.getValue); deprecated towards com.google.firebase.serialization.values.
The data at this location as T (see DataSnapshot.getValue) and every change to it as a Flow, as the Android SDK's values.