removeMany method
- List<
int> ids
Removes (deletes) Objects by their ID in a single transaction. Returns a list of IDs of all removed Objects.
Implementation
int removeMany(List<int> ids) {
final removedIds = allocate<Uint64>();
try {
return OBX_id_array.executeWith(ids, (ptr) {
checkObx(bindings.obx_box_remove_many(_cBox, ptr, removedIds));
return removedIds.value;
});
} finally {
free(removedIds);
}
}