StrawHat.Mailer v0.4.4 StrawHat.Mailer.Schema.TemplatePartial View Source
Represents a TemplatePartial Ecto Schema relation.
Link to this section Summary
Types
template
:StrawHat.Mailer.Schema.Template.t/0
associated with the template partial.template_id
:id
ofStrawHat.Mailer.Schema.Template.t/0
associated with the template partial.partial
:StrawHat.Mailer.Schema.Partial.t/0
associated with the template partial.partial_id
:id
ofStrawHat.Mailer.Schema.Partial.t/0
associated with the template partial
Check t/0
type for more information about the keys
Functions
Validate the attributes and return a Ecto.Changeset for the current Template Partial
Link to this section Types
Link to this type
t()
View Source
t() :: %StrawHat.Mailer.Schema.TemplatePartial{ __meta__: term(), id: term(), partial: StrawHat.Mailer.Schema.Partial.t() | Ecto.Association.NotLoaded.t(), partial_id: Integer.t(), template: StrawHat.Mailer.Schema.Template.t() | Ecto.Association.NotLoaded.t(), template_id: Integer.t() }
template
:StrawHat.Mailer.Schema.Template.t/0
associated with the template partial.template_id
:id
ofStrawHat.Mailer.Schema.Template.t/0
associated with the template partial.partial
:StrawHat.Mailer.Schema.Partial.t/0
associated with the template partial.partial_id
:id
ofStrawHat.Mailer.Schema.Partial.t/0
associated with the template partial.
Check t/0
type for more information about the keys.
Link to this section Functions
Link to this function
changeset(template_partial, template, partial, params \\ %{})
View Source
changeset( t(), StrawHat.Mailer.Schema.Template.t(), StrawHat.Mailer.Schema.Partial.t(), map() ) :: Ecto.Changeset.t()
Validate the attributes and return a Ecto.Changeset for the current Template Partial.