[][src]Function ejdb_sys::bson_append_string

pub unsafe extern "C" fn bson_append_string(
    b: *mut bson,
    name: *const c_char,
    str: *const c_char
) -> c_int

Append a string to a bson.

@param b the bson to append to. @param name the key for the string. @param str the string to append.

@return BSON_OK or BSON_ERROR.