| Crates.io | frnsc-sqlite |
| lib.rs | frnsc-sqlite |
| version | 0.1.0 |
| created_at | 2023-02-27 17:34:32.284387+00 |
| updated_at | 2023-02-27 17:34:32.284387+00 |
| description | Sqlite implementation of SqlDb trait of ForensicRS |
| homepage | |
| repository | https://github.com/ForensicRS/frnsc-sqlite |
| max_upload_size | |
| id | 796246 |
| size | 12,613 |
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");