pagantis_elixir_tools v0.21.3 ElixirTools.Schema.Behaviour behaviour

Link to this section Summary

Link to this section Callbacks

Specs

all(any()) :: any()

Specs

changeset(map()) :: Ecto.Changeset.t()

Specs

create(any()) :: any()

Specs

create!(any()) :: any() | no_return()

Specs

get(any()) :: any()

Specs

get!(any()) :: any() | no_return()

Specs

get_by(any()) :: any()

Specs

get_by!(any()) :: any() | no_return()

Specs

insert(any()) :: any()

Specs

insert!(any()) :: any() | no_return()

Specs

new(any()) :: any()
Link to this callback

preload(any, any)

Specs

preload(any(), any()) :: any()

Specs

repo() :: any()
Link to this callback

update(any, any)

Specs

update(any(), any()) :: any()
Link to this callback

update!(any, any)

Specs

update!(any(), any()) :: any() | no_return()

Specs

validate(any()) :: any()