ecto_mnesia v0.2.0 Ecto.Mnesia.Schema

This module provides set of helpers for conversions between Mnesia records and Ecto Schemas.

Summary

Functions

Cast types to compatible in Mensia

Convert Ecto Schema struct to tuple that can be inserted to Mnesia

Functions

cast_type(x)

Cast types to compatible in Mensia.

TODO: Improve this cast and move to dumpers/loaders in extensions/

from_records(records, schema, fields, take, preprocess_fn)
to_record(schema, params, table)

Convert Ecto Schema struct to tuple that can be inserted to Mnesia.