update

public abstract void update(NodePath nodePath, NodeValue value)

Merges the specified value to the Firebase database node.

If the node doesn't exist, it is created with the given value.

If the node exists, the value entries are added to the node children overwriting common ones if present.

Parameters

nodePath

the path to the node in the Firebase database

value

the value to merge