EctoLtree v0.2.1 EctoLtree.LabelTree View Source
This module defines the LabelTree struct. Implements the Ecto.Type behaviour.
Fields
labels
Link to this section Summary
Functions
Provides custom casting rules from external data to internal representation.
From internal representation to database.
From database to internal representation.
Returns the underlying schema type.
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %EctoLtree.LabelTree{labels: [String.t()]}
t() :: %EctoLtree.LabelTree{labels: [String.t()]}
Link to this section Functions
Link to this function
cast(string) View Source
Provides custom casting rules from external data to internal representation.
Link to this function
decode(label_tree) View Source
Link to this function
dump(label_tree) View Source
From internal representation to database.
Link to this function
load(labelpath) View Source
From database to internal representation.
Link to this function
type()
View Source
type()
View Source
type() :: :ltree
type() :: :ltree
Returns the underlying schema type.