Skip to content

Latest commit

 

History

History
10 lines (9 loc) · 400 Bytes

File metadata and controls

10 lines (9 loc) · 400 Bytes

Sqlite Database for ForensicRS

Sqlite implementation of SqlDb trait of ForensicRS

let mut fs = forensic_rs::core::fs::StdVirtualFS::new();
let file = fs.open(&temp_path).unwrap();
let w_conn = SqliteDB::virtual_file(file).unwrap();
let mut statement = w_conn.prepare("SELECT name, age FROM users;").unwrap();
test_database_content(statement.as_mut()).expect("Should not return error");