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

Stores an atom as a string in the database

A builtin type that can be referenced via :atom

constraints

Constraints

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