Support Topics Documentation Slack YouTube Blog

bulkUpdate for list of objects by objectIds


(Yuriy) #1

current bulkUpdate needs where clause and make update by single parameter object. I need something more similar to how bulkCreate works - you provide list of objects with ObjectIds and other fields:
var persons = [
{ objectId:“abcd1”, “age”:24 },
{ objectId:“abcd2”, “age”:34 }
];
Backendless.Data.of(“Person”).bulkUpdate(persons)


(Mark Piller) #2

Hi Yuriy,

thank you for the suggestion, this sounds like a great idea. We will review it internally and consider adding to the roadmap.

Regards,
Mark