[−][src]Function ejdb_sys::bson_append_new_oid
pub unsafe extern "C" fn bson_append_new_oid(
b: *mut bson,
name: *const c_char
) -> c_int
Append a bson_oid_t to a bson.
@param b the bson to append to. @param name the key for the bson_oid_t.
@return BSON_OK or BSON_ERROR.