Module eclipselink

Class LeftExpression

All Implemented Interfaces:
Expression

public final class LeftExpression extends AbstractDoubleEncapsulatedExpression
The LEFT function return the leftmost substring, respectively, of the first argument whose length is given by the second argument. LEFT function returns a string.
Jakarta Persistence 3.2:
BNF ::= LEFT(string_expression, simple_arithmetic_expression)
Example: UPDATE Employee e SET e.firstName = LEFT('TopLink Workbench', 7)
Author:
Radek Felcman