Skip to main content

obj_doc_delete

Function obj_doc_delete 

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

Delete the document at id in collection. Returns OBJ_ERR_NOT_FOUND if the id is absent.

ยงSafety

As obj_doc_update.