View Source Ash.Type.Atom (ash v3.2.6)

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