Page 1 of 1

numbering my database rows

Posted: Mon Apr 25, 2016 12:54 am
by Gosse Westra

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?


numbering my database rows

Posted: Mon Apr 25, 2016 8:17 am
by Serhii Kulibaba

Hello,

Thank you for contacting Appery.io support

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