remove method

int remove()

Removes all matching objects. Returns the number of removed objects.

Implementation

int remove() {
  final ptr = malloc<Uint64>();
  try {
    checkObx(C.query_remove(_ptr, ptr));
    return ptr.value;
  } finally {
    malloc.free(ptr);
  }
}