Support Topics Documentation Slack YouTube Blog

Bulk objects removal removed from iOS SDK

I have update my app recently from Backendless version 3.0 to version 4.0 and now I am adapting the code to use the new SDK.

When I tried to use the removeall method using iOS SDK version 4.0 I noticed that it no longer exists. Was it really removed from 4.0 SDK?

Yes, it was removed because it was not properly implemented in the first place. The implementation of the method created a loop and deleted objects one by one with a separate API call for each.

OK

What do you suggest now to do the same operation?

If you want the same functionality which was there before, create a loop and delete the objects one by one.

Alternatively, you could use the REST route which provides the actual bulk delete functionality:
https://backendless.com/docs/rest/doc.html#bulk-delete

Ok. Thank you very much.