Ash.Type.CiString (ash v1.37.2) View Source
Stores a case insensitive string in the database
See Ash.CiString
for more information.
A builtin type that can be referenced via :ci_string
Constraints
:max_length
- Enforces a maximum length on the value:min_length
- Enforces a minimum length on the value:match
- Enforces that the string matches a passed in regex:trim?
- Trims the value. The default value istrue
.:allow_empty?
- Sets the value tonil
if it's empty. The default value isfalse
.