Message:

Subscribe rss
Blog categories
All | Backendless features
Feature 94: Deleting persistent objects using Data Service API
April 13, 2015 by markpiller
Spread the love

Deleting an object in Backendless using the API is just as easy as creating or updating one. If an object has relations, they are broken up and the related objects are not deleted. The sample below retrieves the first object from a table and deletes it:

Person class – corresponds to the Person table show below:

person table - Feature 94: Deleting persistent objects using Data Service API

Asynchronous API sample (Android and Plain Java):

Synchronous API sample (Plain Java only):

Once an object is deleted, it is completely removed from the system.

Share this post
Tweet about this on TwitterShare on FacebookGoogle+