Pericles Gomes Luz
Posts: 0
Joined: Sun Jun 16, 2013 6:19 pm

How to add serveal rows in a colletion?

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?

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

How to add serveal rows in a colletion?

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/

Return to “Issues”