Skip to main content

obj_iter_all

Function obj_iter_all 

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

Construct an iterator over every doc in collection, snapshot- consistent against txn. Caller pairs with obj_iter_next and obj_iter_free.

ยงSafety

  • txn must be a live read-txn handle.
  • collection must be a NUL-terminated UTF-8 C string.
  • out_iter must be a writable obj_iter_t *.