Gosse Westra
Posts: 0
Joined: Tue Jun 16, 2015 8:05 pm

numbering my database rows

ok i want to have a collection called for example pictures.

Now if i take a picture with the camera component and upload it to the database files collection i store the file url in the picture collection. now i also want to store a number in the picture collection in the row numbers. I want to start with number 1 and every new row have to be +1 how do i do this?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

numbering my database rows

Hello,

Thank you for contacting Appery.io support

Please use operation $inc for that:
https://devcenter.appery.io/documenta...

Return to “Issues”