Ecto.UUID
An Ecto type for UUIDs strings.
In contrast to the :uuid type, Ecto.UUID works
with UUID as strings instead of binary data.
Summary↑
| cast(u) | Casts to UUID |
| dump(arg1) | Converts an string representing a UUID into a binary |
| generate() | Generates a version 4 (random) UUID |
| load(arg1) | Converts a binary UUID into a string |
| type() | The Ecto primitive type |
Functions
Casts to UUID.
Converts an string representing a UUID into a binary.
Generates a version 4 (random) UUID.
Converts a binary UUID into a string.
The Ecto primitive type.