I am trying to use bulk update function in backend https://www.wix.com/corvid/reference/wix-data.html#bulkUpdate. The documentation looks like is has to split the array of elements e.g. toUpdate and toUpdate rather than toUpdate[ ].
wixData.bulkUpdate("myCollection", [toUpdate1, toUpdate2], options)
Is their a way to use bulkUpdate with just the array?