Auto increment a value in firebase with javascript

后端 未结 5 2098
野性不改
野性不改 2020-12-03 14:52

Hello I\'m working on some firebase project and i can save my datas via javascript into firebase database. But i couldn\'t figure it out to auto increment child value (my ch

5条回答
  •  温柔的废话
    2020-12-03 15:21

    You can use for first column key to "USERID + Your_indexNumber(in client var)" etc.

    This is very simple method.

    Your table must like this:

    https://i.stack.imgur.com/k9UI6.png

提交回复
热议问题