Backendless Support
 
Answered

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?

Leave a Comment

Comments (4)

photo
1

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.

photo
1

OK

What do you suggest now to do the same operation?

photo
1

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

photo
1

Ok. Thank you very much.