Round-trip conversion between Mnemosyne node structs and DB-friendly maps.
to_row/4 produces maps suitable for Repo.insert_all.
from_row/2 converts DB rows (schema structs or plain maps) back to Mnemosyne node structs.
Embedding encoding/decoding is delegated to the active MnemosyneEcto.Adapter
so the same serializer works for pgvector and sqlite-vec.
Summary
Functions
Converts a DB row back into its corresponding Mnemosyne node struct.
Converts a Mnemosyne node struct into a map suitable for Repo.insert_all.
Functions
Converts a DB row back into its corresponding Mnemosyne node struct.
Converts a Mnemosyne node struct into a map suitable for Repo.insert_all.