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

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