Function ejdbopen

Source
pub unsafe extern "C" fn ejdbopen(
    jb: *mut EJDB,
    path: *const c_char,
    mode: c_int,
) -> bool
Expand description

Opens EJDB database. @param jb Database object created with ejdbnew' @param path Path to the database file. @param mode Open mode bitmask flags: JBOREADEROpen as a reader.JBOWRITEROpen as a writer.JBOCREATCreate db if it not existsJBOTRUNCTruncate db.JBONOLCKOpen without locking.JBOLCKNBLock without blocking.JBOTSYNC` Synchronize every transaction. @return