rsql-jpa-specification
rsql-jpa-specification copied to clipboard
Apply custom function for field entity
Is it possible to apply a custom function to a parameter value? For example, remove all special characters.
filter=number=like='123????'
And when searching there will be number like '%123%'.
It would be convenient to register a custom function for an entity field and have this function applied when forming a request.
addEntityAttributeParser(Class<T> entityClass, String fieldEntity, Function<?, ?> function)