[−][src]Function ejdb_sys::ejdbcreatecoll
pub unsafe extern "C" fn ejdbcreatecoll(
jb: *mut EJDB,
colname: *const c_char,
opts: *mut EJCOLLOPTS
) -> *mut EJCOLL
Same as ejdbgetcoll() but automatically creates new collection if it does't exists.
@param jb EJDB handle. @param colname Name of collection. @param opts Options applied only for newly created collection. For existing collections it takes no effect.
@return Collection handle or NULL if error.