It would be nice to have a quick way to transform the element in a collection (list or set), like testing all the elements in a collection match, in a case insensitive way.
Example:
SELECT FROM Car WHERE options.transform( 'toLowercase' ) CONTAINSALL ['a/c', 'airbags']
The transform will call the toLowerCase method against all the elements in the options collection. This should work in chain too, like in the previous example, but removing the first character:
SELECT FROM Car WHERE options.transform( 'trim', 'toLowercase' ) CONTAINSALL ['a/c', 'airbags']
It would be nice to have a quick way to transform the element in a collection (list or set), like testing all the elements in a collection match, in a case insensitive way.
Example:
The transform will call the
toLowerCasemethod against all the elements in theoptionscollection. This should work in chain too, like in the previous example, but removing the first character: