[][src]Function simplebase::engine::load_hash_database_read_only

pub fn load_hash_database_read_only(database_name: &str) -> RecordDataReadOnly

This loads a file that was saved using the "save_database" as read only (only read functions such as searching etc are permitted) function which can then be used with the appropriate methods.

Examples


let loaded_hash_read_ony =  simplebase::engine::load_hash_database_read_only("test1base.txt");

Panics

If the file does not exist then this function will panic!()