[][src]Function ejdb_sys::bson_find

pub unsafe extern "C" fn bson_find(
    it: *mut bson_iterator,
    obj: *const bson,
    name: *const c_char
) -> bson_type

Advance a bson_iterator to the named field.

@param it the bson_iterator to use. @param obj the BSON object to use. @param name the name of the field to find.

@return the type of the found object or BSON_EOO if it is not found.