Skip to main content

write_sqlite

Function write_sqlite 

Source
pub fn write_sqlite(list: &[Data], path: &Path) -> Result<()>
Expand description

Write list as a SQLite3 database with a works table whose columns mirror the commonmeta v1.0 schema. Simple string fields are stored as TEXT; complex fields are stored as compact JSON TEXT. Any existing file at path is deleted first.