MnemosynePostgres.Ecto.Links (mnemosyne_postgres v0.1.1)

Copy Markdown View Source

Ecto type that stores graph edge links as JSONB.

On the Elixir side, links are %{atom() => MapSet.t(String.t())}. On the DB side, they are %{String.t() => [String.t()]} stored as JSONB.

Summary

Functions

Callback implementation for Ecto.Type.embed_as/1.

Functions

embed_as(_)

Callback implementation for Ecto.Type.embed_as/1.