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