FunctionExpressionInterface extends DynamicOperandInterface
Base interface for SQL function expressions with multiple operands.
Function expressions can be used in ORDER BY clauses to sort results by computed values such as CONCAT, TRIM, COALESCE, etc.
only to be used within Extbase, not part of TYPO3 Core API.
Table of Contents
Methods
- getFunctionName() : string
- Returns the SQL function name.
- getOperands() : array<string|int, 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')
getOperands()
Returns the operands of this function expression.
public
getOperands() : array<string|int, DynamicOperandInterface|string>
Return values
array<string|int, DynamicOperandInterface|string> —The operands