View Source Ash.Query.Function.Length (ash v2.14.17)
Returns the length of a list attribute defined by the composite type {:array, Type}
.
length(roles)
If the attribute allows nils:
length(roles || [])
Returns the length of a list attribute defined by the composite type {:array, Type}
.
length(roles)
If the attribute allows nils:
length(roles || [])