sdanigo
Posts: 0
Joined: Sat Jun 06, 2015 8:50 pm

Update database

Hi all
I use the API express to connect on my own Database.

In my app, user collect information that are stored in local storage.

At the end of the day, I would like to update my distant database with my local storage (it mimic excatly the distant database)

Is there a way to assign the value of my local storage to the payload required by the update service (because, I have more than 100 fields per record, so I would like to avoid manually assign each field)?

Thanks

Sylvain

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Update database

Hello Sylvain,

I suppose that you're using custom rest service to work with your db? In this case you would need to create custom rest service query to update it.
Also please note that if you're using a model function, db is updated automatically:
https://devcenter.appery.io/documenta...

Return to “Issues”