Backendless Support
 
Answered

Saving multiple objects

Hi, i was wondering if there is any good way to save multiple objects in one request? (In Android / Swift)

In parse, i could use:

  1. ParseObject.saveAllInBackground(list, new SaveCallback() {...}

Is there something similar in Backendless?

Or some documentation/tutorial that shows how to do this?

Leave a Comment

Comments (2)

photo
2

Hi Kjell,

Backendless persistence (save) operation operates on a single object. You can save a collection of objects when they relate to that single parent object. For example, you can save an instance of Order which contains a collection of OrderItem objects. The order instance will be saved in the "Order" table and the collection of order items will be saved in the "OrderItem" table.

Regards,

Mark

photo
1

Okay, thanks !

Kjell

photo