Module backend_flatfile

Source
Expand description

A backend for the database based on csv files.

Structs§

BackendFlatfile
Store the “database” in a flat, csv file. This is actually mostly a wrapper around BackendMemory, except transactions also get written to a file, and there is a load from file method. Not usually useful for production as everything needs to be stored in memory.
TransactionIterator
Iterate over transactions in a csv file produced by multiple invocations of write_transaction_to_csv.

Functions§

write_transaction_to_csv
Write out a transaction to a csv file. The format is