Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

Delete array of object from user database

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

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Delete array of object from user database

Hi Michael,

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

Return to “Issues”