[][src]Function ejdb_sys::bson_append_regex

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

Append a regex value to a bson.

@param b the bson to append to. @param name the key for the regex value. @param pattern the regex pattern to append. @param the regex options.

@return BSON_OK or BSON_ERROR.