init(mappingTransform:)
Declares support for the hasPrefix operator between a String property and user-supplied values.
Declaration
init(mappingTransform: @escaping (InputType) -> ComparatorMappingType) where Property : EntityProperty<String>, PropertyType == String, InputType == StringParameters
- mappingTransform:
Closure that transforms the user-supplied value into the
ComparatorMappingTypeoutput type.