0

I would like to know if it's possible to save data into firebase and instead to get this kind of number as keys:

KuL7a5iBOgrlvK9nMXJ

Insert this: 0,1,2,3,4 like MySql do.

Is that possible and how can I do this?

Thank you

Amaury Leproux
  • 229
  • 1
  • 5
  • 21

1 Answers1

0

To my knowledge, Firebase does not support this behavior natively. You can, however, set your elements to whatever ID you like, so you could achieve this yourself.

See this answer and this blog post for further explanation.

alex kucksdorf
  • 2,573
  • 1
  • 15
  • 26