DatabaseReference

actual open class DatabaseReference : Query(source)

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.

actual open class DatabaseReference : Query(source)
expect open class DatabaseReference : Query(source)

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.

actual open class DatabaseReference : Query(source)
actual open class DatabaseReference : Query(source)

Types

Link copied to clipboard
actual object Companion
actual object Companion
expect object Companion
actual object Companion
actual object Companion
Link copied to clipboard
actual fun interface CompletionListener

Called once a write has been acknowledged by the server, or failed with DatabaseError.

actual fun interface CompletionListener

Called once a write has been acknowledged by the server, or failed with DatabaseError.

expect fun interface CompletionListener

Called once a write has been acknowledged by the server, or failed with DatabaseError.

actual fun interface CompletionListener

Called once a write has been acknowledged by the server, or failed with DatabaseError.

actual fun interface CompletionListener

Called once a write has been acknowledged by the server, or failed with DatabaseError.

Properties

Link copied to clipboard

The changes to the children of this location as a Flow, which fails if the listener is cancelled.

Link copied to clipboard

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.

Link copied to clipboard
open override val ios: FIRDatabaseReference

The underlying Firebase iOS SDK object.

Link copied to clipboard
open override val js: DatabaseReference

The underlying Firebase JS SDK object.

open override val js: DatabaseReference

The underlying Firebase JS SDK object.

Link copied to clipboard

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).

Link copied to clipboard
actual val key: String?

The last segment of the path, or null at the root.

actual val key: String?

The last segment of the path, or null at the root.

expect val key: String?

The last segment of the path, or null at the root.

actual val key: String?

The last segment of the path, or null at the root.

actual val key: String?

The last segment of the path, or null at the root.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The data at this location and every change to it as a Flow, which fails if the listener is cancelled.

Functions

Link copied to clipboard

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.

Link copied to clipboard

Calls listener once with the data at this location.

Calls listener once with the data at this location.

Calls listener once with the data at this location.

Calls listener once with the data at this location.

Calls listener once with the data at this location.

Link copied to clipboard

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.

Link copied to clipboard
actual fun child(pathString: String): DatabaseReference

A reference to pathString under this location.

actual fun child(pathString: String): DatabaseReference

A reference to pathString under this location.

expect fun child(pathString: String): DatabaseReference

A reference to pathString under this location.

actual fun child(pathString: String): DatabaseReference

A reference to pathString under this location.

actual fun child(pathString: String): DatabaseReference

A reference to pathString under this location.

Link copied to clipboard
actual fun endAt(value: Boolean): Query
actual fun endAt(value: Double): Query
actual fun endAt(value: Boolean, key: String?): Query
actual fun endAt(value: Double, key: String?): Query

actual fun endAt(value: String?): Query

Limits the results to the children whose ordered value is at most value.

actual fun endAt(value: String?, key: String?): Query

Limits the results to the children whose ordered value is at most value, breaking ties by key.

actual fun endAt(value: Boolean): Query
actual fun endAt(value: Double): Query
actual fun endAt(value: Boolean, key: String?): Query
actual fun endAt(value: Double, key: String?): Query

actual fun endAt(value: String?): Query

Limits the results to the children whose ordered value is at most value.

actual fun endAt(value: String?, key: String?): Query

Limits the results to the children whose ordered value is at most value, breaking ties by key.

expect fun endAt(value: Boolean): Query
expect fun endAt(value: Double): Query
expect fun endAt(value: Boolean, key: String?): Query
expect fun endAt(value: Double, key: String?): Query

expect fun endAt(value: String?): Query

Limits the results to the children whose ordered value is at most value.

expect fun endAt(value: String?, key: String?): Query

Limits the results to the children whose ordered value is at most value, breaking ties by key.

actual fun endAt(value: Boolean): Query
actual fun endAt(value: Double): Query
actual fun endAt(value: Boolean, key: String?): Query
actual fun endAt(value: Double, key: String?): Query

actual fun endAt(value: String?): Query

Limits the results to the children whose ordered value is at most value.

actual fun endAt(value: String?, key: String?): Query

Limits the results to the children whose ordered value is at most value, breaking ties by key.

actual fun endAt(value: Boolean): Query
actual fun endAt(value: Double): Query
actual fun endAt(value: Boolean, key: String?): Query
actual fun endAt(value: Double, key: String?): Query

actual fun endAt(value: String?): Query

Limits the results to the children whose ordered value is at most value.

actual fun endAt(value: String?, key: String?): Query

Limits the results to the children whose ordered value is at most value, breaking ties by key.

Link copied to clipboard
actual fun endBefore(value: Boolean): Query
actual fun endBefore(value: Double): Query
actual fun endBefore(value: Boolean, key: String?): Query
actual fun endBefore(value: Double, key: String?): Query

actual fun endBefore(value: String?): Query

Limits the results to the children whose ordered value is less than value.

actual fun endBefore(value: String?, key: String?): Query

Limits the results to the children whose ordered value is less than value, breaking ties by key.

actual fun endBefore(value: Boolean): Query
actual fun endBefore(value: Double): Query
actual fun endBefore(value: Boolean, key: String?): Query
actual fun endBefore(value: Double, key: String?): Query

actual fun endBefore(value: String?): Query

Limits the results to the children whose ordered value is less than value.

actual fun endBefore(value: String?, key: String?): Query

Limits the results to the children whose ordered value is less than value, breaking ties by key.

expect fun endBefore(value: Boolean): Query
expect fun endBefore(value: Double): Query
expect fun endBefore(value: Boolean, key: String?): Query
expect fun endBefore(value: Double, key: String?): Query

expect fun endBefore(value: String?): Query

Limits the results to the children whose ordered value is less than value.

expect fun endBefore(value: String?, key: String?): Query

Limits the results to the children whose ordered value is less than value, breaking ties by key.

actual fun endBefore(value: Boolean): Query
actual fun endBefore(value: Double): Query
actual fun endBefore(value: Boolean, key: String?): Query
actual fun endBefore(value: Double, key: String?): Query

actual fun endBefore(value: String?): Query

Limits the results to the children whose ordered value is less than value.

actual fun endBefore(value: String?, key: String?): Query

Limits the results to the children whose ordered value is less than value, breaking ties by key.

actual fun endBefore(value: Boolean): Query
actual fun endBefore(value: Double): Query
actual fun endBefore(value: Boolean, key: String?): Query
actual fun endBefore(value: Double, key: String?): Query

actual fun endBefore(value: String?): Query

Limits the results to the children whose ordered value is less than value.

actual fun endBefore(value: String?, key: String?): Query

Limits the results to the children whose ordered value is less than value, breaking ties by key.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

The iOS SDK creates a new object per call, so queries are equal when they describe the same location and constraints.

open operator override fun equals(other: Any?): Boolean

The JS SDK creates a new object per call, so queries are equal when they are of the same location and constraints.

open operator override fun equals(other: Any?): Boolean

The JS SDK creates a new object per call, so queries are equal when they are of the same location and constraints.

Link copied to clipboard
actual fun equalTo(value: Boolean): Query
actual fun equalTo(value: Double): Query
actual fun equalTo(value: Boolean, key: String?): Query
actual fun equalTo(value: Double, key: String?): Query

actual fun equalTo(value: String?): Query

Limits the results to the children whose ordered value equals value.

actual fun equalTo(value: String?, key: String?): Query

Limits the results to the child whose ordered value equals value and whose key is key.

actual fun equalTo(value: Boolean): Query
actual fun equalTo(value: Double): Query
actual fun equalTo(value: Boolean, key: String?): Query
actual fun equalTo(value: Double, key: String?): Query

actual fun equalTo(value: String?): Query

Limits the results to the children whose ordered value equals value.

actual fun equalTo(value: String?, key: String?): Query

Limits the results to the child whose ordered value equals value and whose key is key.

expect fun equalTo(value: Boolean): Query
expect fun equalTo(value: Double): Query
expect fun equalTo(value: Boolean, key: String?): Query
expect fun equalTo(value: Double, key: String?): Query

expect fun equalTo(value: String?): Query

Limits the results to the children whose ordered value equals value.

expect fun equalTo(value: String?, key: String?): Query

Limits the results to the child whose ordered value equals value and whose key is key.

actual fun equalTo(value: Boolean): Query
actual fun equalTo(value: Double): Query
actual fun equalTo(value: Boolean, key: String?): Query
actual fun equalTo(value: Double, key: String?): Query

actual fun equalTo(value: String?): Query

Limits the results to the children whose ordered value equals value.

actual fun equalTo(value: String?, key: String?): Query

Limits the results to the child whose ordered value equals value and whose key is key.

actual fun equalTo(value: Boolean): Query
actual fun equalTo(value: Double): Query
actual fun equalTo(value: Boolean, key: String?): Query
actual fun equalTo(value: Double, key: String?): Query

actual fun equalTo(value: String?): Query

Limits the results to the children whose ordered value equals value.

actual fun equalTo(value: String?, key: String?): Query

Limits the results to the child whose ordered value equals value and whose key is key.

Link copied to clipboard
actual fun get(): Task<DataSnapshot>

Reads the data at this location from the server, falling back to the cache when offline.

actual fun get(): Task<DataSnapshot>

Reads the data at this location from the server, falling back to the cache when offline.

expect fun get(): Task<DataSnapshot>

Reads the data at this location from the server, falling back to the cache when offline.

actual fun get(): Task<DataSnapshot>

Reads the data at this location from the server, falling back to the cache when offline.

actual fun get(): Task<DataSnapshot>

Reads the data at this location from the server, falling back to the cache when offline.

Link copied to clipboard
open override fun hashCode(): Int
open override fun hashCode(): Int
open override fun hashCode(): Int
Link copied to clipboard
actual fun keepSynced(keepSynced: Boolean)

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.

actual fun keepSynced(keepSynced: Boolean)

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.

expect fun keepSynced(keepSynced: Boolean)

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.

actual fun keepSynced(keepSynced: Boolean)

A no-op: the JS SDK has no persistent cache to keep a query synchronized in.

actual fun keepSynced(keepSynced: Boolean)

A no-op: the JS SDK has no persistent cache to keep a query synchronized in.

Link copied to clipboard
actual fun limitToFirst(limit: Int): Query

Limits the results to the first limit children.

actual fun limitToFirst(limit: Int): Query

Limits the results to the first limit children.

expect fun limitToFirst(limit: Int): Query

Limits the results to the first limit children.

actual fun limitToFirst(limit: Int): Query

Limits the results to the first limit children.

actual fun limitToFirst(limit: Int): Query

Limits the results to the first limit children.

Link copied to clipboard
actual fun limitToLast(limit: Int): Query

Limits the results to the last limit children.

actual fun limitToLast(limit: Int): Query

Limits the results to the last limit children.

expect fun limitToLast(limit: Int): Query

Limits the results to the last limit children.

actual fun limitToLast(limit: Int): Query

Limits the results to the last limit children.

actual fun limitToLast(limit: Int): Query

Limits the results to the last limit children.

Link copied to clipboard

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.

Link copied to clipboard
actual fun orderByChild(path: String): Query

Orders the children by the value at path within each of them.

actual fun orderByChild(path: String): Query

Orders the children by the value at path within each of them.

expect fun orderByChild(path: String): Query

Orders the children by the value at path within each of them.

actual fun orderByChild(path: String): Query

Orders the children by the value at path within each of them.

actual fun orderByChild(path: String): Query

Orders the children by the value at path within each of them.

Link copied to clipboard
actual fun orderByKey(): Query

Orders the children by their keys.

actual fun orderByKey(): Query

Orders the children by their keys.

expect fun orderByKey(): Query

Orders the children by their keys.

actual fun orderByKey(): Query

Orders the children by their keys.

actual fun orderByKey(): Query

Orders the children by their keys.

Link copied to clipboard
actual fun orderByPriority(): Query

Orders the children by their priorities.

actual fun orderByPriority(): Query

Orders the children by their priorities.

expect fun orderByPriority(): Query

Orders the children by their priorities.

actual fun orderByPriority(): Query

Orders the children by their priorities.

actual fun orderByPriority(): Query

Orders the children by their priorities.

Link copied to clipboard
actual fun orderByValue(): Query

Orders the children by their values.

actual fun orderByValue(): Query

Orders the children by their values.

expect fun orderByValue(): Query

Orders the children by their values.

actual fun orderByValue(): Query

Orders the children by their values.

actual fun orderByValue(): Query

Orders the children by their values.

Link copied to clipboard
actual fun push(): DatabaseReference

A reference to a new child with a unique, chronologically ordered key.

actual fun push(): DatabaseReference

A reference to a new child with a unique, chronologically ordered key.

expect fun push(): DatabaseReference

A reference to a new child with a unique, chronologically ordered key.

actual fun push(): DatabaseReference

A reference to a new child with a unique, chronologically ordered key.

actual fun push(): DatabaseReference

A reference to a new child with a unique, chronologically ordered key.

Link copied to clipboard

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.

Link copied to clipboard
actual fun removeValue(): Task<Nothing?>

Deletes the data at this location.

Deletes the data at this location and calls listener once the server has acknowledged it.

actual fun removeValue(): Task<Nothing?>

Deletes the data at this location.

Deletes the data at this location and calls listener once the server has acknowledged it.

expect fun removeValue(): Task<Nothing?>

Deletes the data at this location.

Deletes the data at this location and calls listener once the server has acknowledged it.

actual fun removeValue(): Task<Nothing?>

Deletes the data at this location.

Deletes the data at this location and calls listener once the server has acknowledged it.

actual fun removeValue(): Task<Nothing?>

Deletes the data at this location.

Deletes the data at this location and calls listener once the server has acknowledged it.

Link copied to clipboard
actual fun runTransaction(handler: Transaction.Handler)

Runs handler as a transaction on this location, retrying it while the data changes; events fire for local updates.

actual fun runTransaction(handler: Transaction.Handler, fireLocalEvents: Boolean)

Runs handler as a transaction on this location; fireLocalEvents controls the events of intermediate states.

actual fun runTransaction(handler: Transaction.Handler)

Runs handler as a transaction on this location, retrying it while the data changes; events fire for local updates.

actual fun runTransaction(handler: Transaction.Handler, fireLocalEvents: Boolean)

Runs handler as a transaction on this location; fireLocalEvents controls the events of intermediate states.

expect fun runTransaction(handler: Transaction.Handler)

Runs handler as a transaction on this location, retrying it while the data changes; events fire for local updates.

expect fun runTransaction(handler: Transaction.Handler, fireLocalEvents: Boolean)

Runs handler as a transaction on this location; fireLocalEvents controls the events of intermediate states.

actual fun runTransaction(handler: Transaction.Handler)

Runs handler as a transaction on this location, retrying it while the data changes; events fire for local updates.

actual fun runTransaction(handler: Transaction.Handler, fireLocalEvents: Boolean)

Runs handler as a transaction on this location; fireLocalEvents controls the events of intermediate states.

actual fun runTransaction(handler: Transaction.Handler)

Runs handler as a transaction on this location, retrying it while the data changes; events fire for local updates.

actual fun runTransaction(handler: Transaction.Handler, fireLocalEvents: Boolean)

Runs handler as a transaction on this location; fireLocalEvents controls the events of intermediate states.

Link copied to clipboard
actual fun setPriority(priority: Any?): Task<Nothing?>

Sets the priority of this location, a String, a Double or null.

actual fun setPriority(priority: Any?, listener: DatabaseReference.CompletionListener?)

Sets the priority of this location and calls listener once the server has acknowledged it.

actual fun setPriority(priority: Any?): Task<Nothing?>

Sets the priority of this location, a String, a Double or null.

actual fun setPriority(priority: Any?, listener: DatabaseReference.CompletionListener?)

Sets the priority of this location and calls listener once the server has acknowledged it.

expect fun setPriority(priority: Any?): Task<Nothing?>

Sets the priority of this location, a String, a Double or null.

expect fun setPriority(priority: Any?, listener: DatabaseReference.CompletionListener?)

Sets the priority of this location and calls listener once the server has acknowledged it.

actual fun setPriority(priority: Any?): Task<Nothing?>

Sets the priority of this location, a String, a Double or null.

actual fun setPriority(priority: Any?, listener: DatabaseReference.CompletionListener?)

Sets the priority of this location and calls listener once the server has acknowledged it.

actual fun setPriority(priority: Any?): Task<Nothing?>

Sets the priority of this location, a String, a Double or null.

actual fun setPriority(priority: Any?, listener: DatabaseReference.CompletionListener?)

Sets the priority of this location and calls listener once the server has acknowledged it.

Link copied to clipboard
actual fun setValue(value: Any?): Task<Nothing?>

Writes value at this location, replacing the current data; null deletes it.

actual fun setValue(value: Any?, listener: DatabaseReference.CompletionListener?)

Writes value at this location and calls listener once the server has acknowledged it.

actual fun setValue(value: Any?, priority: Any?): Task<Nothing?>

Writes value with priority at this location.

actual fun setValue(value: Any?, priority: Any?, listener: DatabaseReference.CompletionListener?)

Writes value with priority at this location and calls listener once the server has acknowledged it.

actual fun setValue(value: Any?): Task<Nothing?>

Writes value at this location, replacing the current data; null deletes it.

actual fun setValue(value: Any?, listener: DatabaseReference.CompletionListener?)

Writes value at this location and calls listener once the server has acknowledged it.

actual fun setValue(value: Any?, priority: Any?): Task<Nothing?>

Writes value with priority at this location.

actual fun setValue(value: Any?, priority: Any?, listener: DatabaseReference.CompletionListener?)

Writes value with priority at this location and calls listener once the server has acknowledged it.

expect fun setValue(value: Any?): Task<Nothing?>

Writes value at this location, replacing the current data; null deletes it.

expect fun setValue(value: Any?, listener: DatabaseReference.CompletionListener?)

Writes value at this location and calls listener once the server has acknowledged it.

expect fun setValue(value: Any?, priority: Any?): Task<Nothing?>

Writes value with priority at this location.

expect fun setValue(value: Any?, priority: Any?, listener: DatabaseReference.CompletionListener?)

Writes value with priority at this location and calls listener once the server has acknowledged it.

actual fun setValue(value: Any?): Task<Nothing?>

Writes value at this location, replacing the current data; null deletes it.

actual fun setValue(value: Any?, listener: DatabaseReference.CompletionListener?)

Writes value at this location and calls listener once the server has acknowledged it.

actual fun setValue(value: Any?, priority: Any?): Task<Nothing?>

Writes value with priority at this location.

actual fun setValue(value: Any?, priority: Any?, listener: DatabaseReference.CompletionListener?)

Writes value with priority at this location and calls listener once the server has acknowledged it.

actual fun setValue(value: Any?): Task<Nothing?>

Writes value at this location, replacing the current data; null deletes it.

actual fun setValue(value: Any?, listener: DatabaseReference.CompletionListener?)

Writes value at this location and calls listener once the server has acknowledged it.

actual fun setValue(value: Any?, priority: Any?): Task<Nothing?>

Writes value with priority at this location.

actual fun setValue(value: Any?, priority: Any?, listener: DatabaseReference.CompletionListener?)

Writes value with priority at this location and calls listener once the server has acknowledged it.

Link copied to clipboard
actual fun startAfter(value: Boolean): Query
actual fun startAfter(value: Double): Query
actual fun startAfter(value: Boolean, key: String?): Query
actual fun startAfter(value: Double, key: String?): Query

actual fun startAfter(value: String?): Query

Limits the results to the children whose ordered value is greater than value.

actual fun startAfter(value: String?, key: String?): Query

Limits the results to the children whose ordered value is greater than value, breaking ties by key.

actual fun startAfter(value: Boolean): Query
actual fun startAfter(value: Double): Query
actual fun startAfter(value: Boolean, key: String?): Query
actual fun startAfter(value: Double, key: String?): Query

actual fun startAfter(value: String?): Query

Limits the results to the children whose ordered value is greater than value.

actual fun startAfter(value: String?, key: String?): Query

Limits the results to the children whose ordered value is greater than value, breaking ties by key.

expect fun startAfter(value: Boolean): Query
expect fun startAfter(value: Double): Query
expect fun startAfter(value: Boolean, key: String?): Query
expect fun startAfter(value: Double, key: String?): Query

expect fun startAfter(value: String?): Query

Limits the results to the children whose ordered value is greater than value.

expect fun startAfter(value: String?, key: String?): Query

Limits the results to the children whose ordered value is greater than value, breaking ties by key.

actual fun startAfter(value: Boolean): Query
actual fun startAfter(value: Double): Query
actual fun startAfter(value: Boolean, key: String?): Query
actual fun startAfter(value: Double, key: String?): Query

actual fun startAfter(value: String?): Query

Limits the results to the children whose ordered value is greater than value.

actual fun startAfter(value: String?, key: String?): Query

Limits the results to the children whose ordered value is greater than value, breaking ties by key.

actual fun startAfter(value: Boolean): Query
actual fun startAfter(value: Double): Query
actual fun startAfter(value: Boolean, key: String?): Query
actual fun startAfter(value: Double, key: String?): Query

actual fun startAfter(value: String?): Query

Limits the results to the children whose ordered value is greater than value.

actual fun startAfter(value: String?, key: String?): Query

Limits the results to the children whose ordered value is greater than value, breaking ties by key.

Link copied to clipboard
actual fun startAt(value: Boolean): Query
actual fun startAt(value: Double): Query
actual fun startAt(value: Boolean, key: String?): Query
actual fun startAt(value: Double, key: String?): Query

actual fun startAt(value: String?): Query

Limits the results to the children whose ordered value is at least value.

actual fun startAt(value: String?, key: String?): Query

Limits the results to the children whose ordered value is at least value, breaking ties by key.

actual fun startAt(value: Boolean): Query
actual fun startAt(value: Double): Query
actual fun startAt(value: Boolean, key: String?): Query
actual fun startAt(value: Double, key: String?): Query

actual fun startAt(value: String?): Query

Limits the results to the children whose ordered value is at least value.

actual fun startAt(value: String?, key: String?): Query

Limits the results to the children whose ordered value is at least value, breaking ties by key.

expect fun startAt(value: Boolean): Query
expect fun startAt(value: Double): Query
expect fun startAt(value: Boolean, key: String?): Query
expect fun startAt(value: Double, key: String?): Query

expect fun startAt(value: String?): Query

Limits the results to the children whose ordered value is at least value.

expect fun startAt(value: String?, key: String?): Query

Limits the results to the children whose ordered value is at least value, breaking ties by key.

actual fun startAt(value: Boolean): Query
actual fun startAt(value: Double): Query
actual fun startAt(value: Boolean, key: String?): Query
actual fun startAt(value: Double, key: String?): Query

actual fun startAt(value: String?): Query

Limits the results to the children whose ordered value is at least value.

actual fun startAt(value: String?, key: String?): Query

Limits the results to the children whose ordered value is at least value, breaking ties by key.

actual fun startAt(value: Boolean): Query
actual fun startAt(value: Double): Query
actual fun startAt(value: Boolean, key: String?): Query
actual fun startAt(value: Double, key: String?): Query

actual fun startAt(value: String?): Query

Limits the results to the children whose ordered value is at least value.

actual fun startAt(value: String?, key: String?): Query

Limits the results to the children whose ordered value is at least value, breaking ties by key.

Link copied to clipboard
open override fun toString(): String
open override fun toString(): String
open override fun toString(): String
Link copied to clipboard
actual fun updateChildren(update: Map<String, Any?>): Task<Nothing?>

Writes the children in update (paths to values; a null value deletes) without replacing the other children.

Writes the children in update and calls listener once the server has acknowledged it.

actual fun updateChildren(update: Map<String, Any?>): Task<Nothing?>

Writes the children in update (paths to values; a null value deletes) without replacing the other children.

Writes the children in update and calls listener once the server has acknowledged it.

expect fun updateChildren(update: Map<String, Any?>): Task<Nothing?>

Writes the children in update (paths to values; a null value deletes) without replacing the other children.

Writes the children in update and calls listener once the server has acknowledged it.

actual fun updateChildren(update: Map<String, Any?>): Task<Nothing?>

Writes the children in update (paths to values; a null value deletes) without replacing the other children.

Writes the children in update and calls listener once the server has acknowledged it.

actual fun updateChildren(update: Map<String, Any?>): Task<Nothing?>

Writes the children in update (paths to values; a null value deletes) without replacing the other children.

Writes the children in update and calls listener once the server has acknowledged it.

Link copied to clipboard
inline fun <T> Query.values(): Flow<T?>

The data at this location and every change to it as T (see getValue).