removeMany method

int removeMany(
  1. List<int> ids
)

Removes (deletes) by ID, returning a list of IDs of all removed Objects.

Implementation

int removeMany(List<int> ids) {
  final countRemoved = malloc<Uint64>();
  try {
    return executeWithIdArray(ids, (ptr) {
      checkObx(C.box_remove_many(_cBox, ptr, countRemoved));
      return countRemoved.value;
    });
  } finally {
    malloc.free(countRemoved);
  }
}