Skip to main content

obj_count_all

Function obj_count_all 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn obj_count_all( txn: *mut obj_read_txn_t, collection: *const c_char, out_count: *mut u64, ) -> obj_error_t
Expand description

Count every doc in collection.

ยงSafety

  • txn must be live; collection NUL-terminated UTF-8; out_count writable.