Firebase - set priority when doing an update/fanout to several nodes
问题 I'm writing to several parts/nodes of my Firebase database in one update. Is it possible to set the priority of a node when doing this? Example: firebaseRef.update([ "/some/node/": "value", "/some/other/node": "other value" ]) What if I want to set the priority of the node at "/some/other/node" at the same time. Is that possible? Something like: firebaseRef.update([ "/some/node/": "value", "/some/other/node": { value: "other value", priority: 0 - Date.now() } ]) 回答1: You almost got it, the