Companion

actual object Companion(source)
expect object Companion(source)
actual object Companion(source)
actual object Companion(source)

Functions

Link copied to clipboard
actual fun arrayRemove(vararg elements: Any): FieldValue
expect fun arrayRemove(vararg elements: Any): FieldValue

Removes elements from the array field.

actual fun arrayRemove(vararg elements: Any): FieldValue
actual fun arrayRemove(vararg elements: Any): FieldValue
Link copied to clipboard
actual fun arrayUnion(vararg elements: Any): FieldValue
expect fun arrayUnion(vararg elements: Any): FieldValue

Adds elements to the array field, without duplicates.

actual fun arrayUnion(vararg elements: Any): FieldValue
actual fun arrayUnion(vararg elements: Any): FieldValue
Link copied to clipboard
expect fun delete(): FieldValue

Deletes the field (in an update or merge).

actual fun delete(): FieldValue
Link copied to clipboard
expect fun increment(d: Double): FieldValue

Adds d to the numeric field.

expect fun increment(l: Long): FieldValue

Adds l to the numeric field.

actual fun increment(d: Double): FieldValue
actual fun increment(l: Long): FieldValue
Link copied to clipboard
expect fun maximum(d: Double): FieldValue

Sets the numeric field to the greater of its value and d.

expect fun maximum(l: Long): FieldValue

Sets the numeric field to the greater of its value and l.

actual fun maximum(d: Double): FieldValue
actual fun maximum(l: Long): FieldValue
Link copied to clipboard
expect fun minimum(d: Double): FieldValue

Sets the numeric field to the lesser of its value and d.

expect fun minimum(l: Long): FieldValue

Sets the numeric field to the lesser of its value and l.

actual fun minimum(d: Double): FieldValue
actual fun minimum(l: Long): FieldValue
Link copied to clipboard

The time the write reaches the backend.

Link copied to clipboard
expect fun vector(values: DoubleArray): VectorValue

A VectorValue of values, stored as Firestore's vector type.

actual fun vector(values: DoubleArray): VectorValue