View Source QuantumStorageEcto.Types.Term (Quantum Storage Ecto v0.2.0)

Implements and Ecto type that allows to save any elixir term to a database

Warning

Handle with care, there is no guard validation since every term can be converted to a binary

Reference: https://hexdocs.pm/ecto/Ecto.Type.html

Summary

Functions

Callback implementation for Ecto.Type.cast/1.

Callback implementation for Ecto.Type.dump/1.

Callback implementation for Ecto.Type.embed_as/1.

Callback implementation for Ecto.Type.equal?/2.

Callback implementation for Ecto.Type.load/1.

Callback implementation for Ecto.Type.type/0.

Functions

Callback implementation for Ecto.Type.cast/1.

Callback implementation for Ecto.Type.dump/1.

Callback implementation for Ecto.Type.embed_as/1.

Callback implementation for Ecto.Type.equal?/2.

Callback implementation for Ecto.Type.load/1.

Callback implementation for Ecto.Type.type/0.