I am trying to create multiple node updates inside one Database.database().reference().updateChildValues([AnyHashable: Any])
request, but in this array I need key values which are just like childByAutoId()
.
I tried doing so by creating key nodes with the value of NSDate.timeIntervalSinceReferenceDate * 1000;
but Firebase does not accept integer keys.
Is there a way to get the method of how Firebase creates these unique child nodes, which are time-sorted ID's?