Skip to main content

import_database

Function import_database 

Source
pub fn import_database(
    agent: Agent,
    path: &Path,
    id: &str,
    opts: &ReadOptions,
) -> Result<SessionImport, ImportError>
Expand description

Read one session within a SQLite read transaction. No byte offsets are invented. opts.max_line_bytes bounds each serialized row; max_file_bytes bounds the DB file.