FieldsAndValuesUpdateDSL
A builder for generating a collection of updates to a document. Updates can be applied to either a String field or to a FieldPath. Within this builder custom serialization can be applied to the update.
val update: FieldsAndValuesUpdateBuilder.() -> Unit = {
"path" to 1
FieldPath("subpath", "field") to "value"
"otherPath".to(strategy, value)
}Content copied to clipboard
Functions
Link copied to clipboard
Updates a FieldPath to a given value The value will be encoded according to the EncodeSettings set by this builder.
Updates the field represented by a String to a given value The value will be encoded according to the EncodeSettings set by this builder.
Link copied to clipboard
Provides an accessor for encoding values with EncodeSettings