Converts Mnemosyne ingestion records to and from durable database rows.
Summary
Functions
Reconstructs a Mnemosyne ingestion record from a durable database row.
Converts an ingestion record into a scoped row suitable for Repo.insert_all/3.
Functions
@spec from_row(MnemosyneEcto.Schema.Ingestion.t()) :: Mnemosyne.GraphBackend.ingestion_record()
Reconstructs a Mnemosyne ingestion record from a durable database row.
@spec to_row(Mnemosyne.GraphBackend.ingestion_record(), String.t(), String.t()) :: map()
Converts an ingestion record into a scoped row suitable for Repo.insert_all/3.