Page 1 of 1

merge tables into one table in database

Posted: Wed Apr 16, 2014 4:58 pm
by Cindy Lao

How to use server code merge tables into one table, Can you have sample code for me?


merge tables into one table in database

Posted: Wed Apr 16, 2014 5:29 pm
by Maryna Brodina

Hello!

Unfortunately there is no ready code, this should help http://docs.appery.io/documentation/b...
Please also check this post https://getsatisfaction.com/apperyio/...


merge tables into one table in database

Posted: Wed Apr 16, 2014 6:07 pm
by Cindy Lao

But I still don't know how to do.


merge tables into one table in database

Posted: Wed Apr 16, 2014 8:09 pm
by Maryna Brodina

You need to retrieve data from one collection using for example prequery(dbId, collectionName[, params][, token]);/preThen from retrieved JSON object result move each record to necessary collection precreateObject(dbId, collectionName, objectJSON[, token])/pre Please take a look here http://docs.appery.io/documentation/b...