MutableData
The data of a location inside a transaction, as the Android SDK's MutableData: value is read and then set to the new data before the Transaction.Handler returns Transaction.success.
The data of a transaction as a JS value tree: the JS SDK's transaction receives the current value and returns the new one, so root holds the value being edited and each child refers to a path in it. A node with a priority is held in the SDK's { ".value": data, ".priority": priority } form, which every operation looks through. The tree is read and written through own properties only, so that a path such as __proto__ cannot reach the prototype chain.
The data of a transaction as a JS value tree: the JS SDK's transaction receives the current value and returns the new one, so root holds the value being edited and each child refers to a path in it. A node with a priority is held in the SDK's { ".value": data, ".priority": priority } form, which every operation looks through. The tree is read and written through own properties only, so that a path such as __proto__ cannot reach the prototype chain.
Properties
The children of this location.
The number of children.
The current data as its natural type (see DataSnapshot); setting it replaces the data of the transaction. The setter, which maps a class by reflection on Android, is deprecated with an error towards setData, which maps a @Serializable class through FirebaseFormat.Database on every platform.
Functions
The SDK's reified getValue (see DataSnapshot.getValue); deprecated towards com.google.firebase.serialization.getValue.
The data as T, as the Android SDK's reified getValue (see DataSnapshot.getValue).
Whether the location has children.