hierarch v0.2.0 Hierarch.Ecto.UUIDLTree View Source

Link to this section Summary

Functions

Casts the value to UUID string label

Convert UUIDD string value to LTree label String

Load String to UUID string label

Returns the underlying schema type for the custom type.

Link to this section Functions

Casts the value to UUID string label

Convert UUIDD string value to LTree label String

Load String to UUID string label

Returns the underlying schema type for the custom type.

For example, if you want to provide your own date structures, the type function should return :date.

Note this function is not required to return Ecto primitive types, the type is only required to be known by the adapter.

Callback implementation for Ecto.Type.type/0.