Ecto v3.0.0 Ecto.UUID View Source
An Ecto type for UUIDs strings.
Link to this section Summary
Functions
Generates a version 4 (random) UUID in the binary format
Same as cast/1
but raises Ecto.CastError
on invalid arguments
Casts to UUID
Converts a string representing a UUID into a binary
Generates a version 4 (random) UUID
Converts a binary UUID into a string
The Ecto type
Link to this section Types
A raw binary representation of a UUID.
A hex-encoded UUID string.
Link to this section Functions
Generates a version 4 (random) UUID in the binary format.
Same as cast/1
but raises Ecto.CastError
on invalid arguments.
Casts to UUID.
Converts a string representing a UUID into a binary.
Generates a version 4 (random) UUID.
Converts a binary UUID into a string.
The Ecto type.