removeMany method

int removeMany(
  1. List<int> ids
)

Removes (deletes) objects with the given ids if they exist. Returns the number of removed objects.

Implementation

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