Page 1 of 1

Delete array of object from user database

Posted: Thu Jan 30, 2014 3:52 pm
by Michael4771079

Hi,
this is my user bd

Image

When my app opens I clear localstorage on load, then the user logs in.
Now I need the best way to clear currentOrder array form highlighted user id
I could not see a way of doing this with a delete service
I tried update but this wont work as there are no arrays in localstorage to update from.
are there docs for this, I couldn't find them.

thx


Delete array of object from user database

Posted: Thu Jan 30, 2014 5:43 pm
by Kateryna Grynko

Hi Michael,

You should use Update service: http://docs.appery.io/documentation/b... Delete service will delete all the record instead of one field.