Class TrimFunction

All Implemented Interfaces:
FunctionRenderer, SqmFunctionDescriptor

public class TrimFunction extends AbstractSqmSelfRenderingFunctionDescriptor
ANSI SQL-standard trim() function, which has a funny syntax involving a TrimSpec, and portability is achieved using Dialect.trimPattern(TrimSpec, boolean).

For example, trim(leading ' ' from text).