TrimInterface
interface \
- Extends
- FunctionExpressionInterface
Evaluates to the trimmed string value of the operand.
Usage example: $query->orderBy($query->trim('title'), QueryInterface::ORDER_ASCENDING);
Internal
only to be used within Extbase, not part of TYPO3 Core API.
Table of Contents
Methods
- getFunctionName() : string
- Returns the SQL function name.
- getOperand() : DynamicOperandInterface
- Returns the operand being trimmed.
- getOperands() : (DynamicOperandInterface|string)[]
- Returns the operands of this function expression.
Methods
getFunctionName()
Returns the SQL function name.
public
getFunctionName() : string
Return values
string —The function name (e.g., 'CONCAT', 'TRIM', 'COALESCE')
getOperand()
Returns the operand being trimmed.
public
getOperand() : DynamicOperandInterface
Return values
DynamicOperandInterfacegetOperands()
Returns the operands of this function expression.
public
getOperands() : (DynamicOperandInterface|string)[]
Return values
(DynamicOperandInterface|string)[] —The operands