count method

int count ()

Returns the number of matching Objects.

Implementation

int count() {
  final ptr = allocate<Uint64>(count: 1);
  try {
    checkObx(bindings.obx_query_count(_cQuery, ptr));
    return ptr.value;
  } finally {
    free(ptr);
  }
}