updateChildren

inline suspend fun updateChildren(update: Map<String, Any?>, buildSettings: EncodeSettings.Builder.() -> Unit = {})(source)

Ensure the data has the specified child values updated when the client is disconnected

Parameters

update

The paths to update, along with their desired values


suspend fun updateChildren(update: Map<String, Any?>, encodeDefaults: Boolean)(source)

Deprecated

Deprecated. Use builder instead

Replace with

updateChildren(update) { this.encodeDefaults = encodeDefaults }

Ensure the data has the specified child values updated when the client is disconnected

Parameters

update

The paths to update, along with their desired values