I have the following json, which I save to firebase using $push.
{"eventId" : x, eventName : "nameofevent", speakers: [101, 102]}
How do I store a unique integer (int32) in eventId?
I would use the key produced by the reference but it has to be an integer.