I need to upload bulk rows of data using Firebase console's 'Import JSON' utility. But I could not get a way to enable Auto Generated Keys like -Kop90... for each rows. But instead it created 0,1.. keys.
This is my sample data
[
{"date":1448323200,"description":"test data1","amount":1273},
{"date":1448323200,"description":"25mm pipes","amount":2662}
]
I would like to generate something like this
-K
) yourself in your code, have a look at this [blog post explaining Firebase's push IDs](firebase.googleblog.com/2015/02/the-2120-ways-to-ensure-unique_68.html). – Frank van Puffelen Feb 11 '17 at 21:30