View Source Ash.Type.Atom (ash v2.18.2)

Stores an atom as a string in the database

A builtin type that can be referenced via :atom

Constraints

  • :one_of (term/0) - Allows constraining the value of an atom to a pre-defined list