Page 1 of 1

How to add serveal rows in a colletion?

Posted: Sun Jun 16, 2013 6:19 pm
by Pericles Gomes Luz

Hi all,

I have to colletion in a database. The collewtion A have some rows and, on an especific moment, I need to copy all A's rows to the B colletion. Is there a way to do this using Appery API?


How to add serveal rows in a colletion?

Posted: Sun Jun 16, 2013 7:02 pm
by Alena Prykhodko

Hi!

It should be possible with use of JavaScript.
Try to copy rows from A database and save them to localStorage on Event you need, then on Success event get these rows and save to B database.
Also look here:
http://docs.appery.io/documentation/b...
http://docs.mongodb.org/manual/crud/