ISN v1.0.2
ISN.ISBN
Definition for the ISN.ISBN module.
How to use this in an Ecto.Model
defmodule MyApp.Book do
use MyApp.Web, :model
schema "books" do
field :isbn, ISN.ISBN
# other fields
end
end
Summary
Callback implementation for c:Ecto.Type.cast/1
Callback implementation for c:Ecto.Type.dump/1
Callback implementation for c:Ecto.Type.load/1
Callback implementation for c:Ecto.Type.type/0
Functions
Callback implementation for c:Ecto.Type.cast/1
.
Callback implementation for c:Ecto.Type.dump/1
.
Callback implementation for c:Ecto.Type.load/1
.
Callback implementation for c:Ecto.Type.type/0
.