[][src]Function ejdb_sys::bson_append_element

pub unsafe extern "C" fn bson_append_element(
    b: *mut bson,
    name_or_null: *const c_char,
    elem: *const bson_iterator
) -> c_int

Append a BSON element to a bson from the current point of an iterator.

@param b the bson to append to. @param name_or_null the key for the BSON element, or NULL. @param elem the bson_iterator.

@return BSON_OK or BSON_ERROR.