FunctionCallExpression
Overview
Implementation of FunctionCallExpression.
For example, a WHERE clause of this query
SELECT
*
FROM
Customers
WHERE
LTRIM(customer_name) = "TEST"
will be presented as:
myTable.dynamicWhere = new RemObjects.DataAbstract.DynamicWhere(
new RemObjects.DataAbstract.BinaryExpression(
new RemObjects.DataAbstract.FunctionCallExpression(
"TrimLeft",
new RemObjects.DataAbstract.FieldExpression("customer_name")),
new RemObjects.DataAbstract.ConstantExpression("String", "TEST")
"Equal")
);
Location
DataAbstract.js
- Ancestry: FunctionCallExpression
Instance Methods
constructor FunctionCallExpression
Creates a new instance of the FunctionCallExpression class.
function constructor FunctionCallExpression(node, functionKind)
Parameters:
- node: Expression
- functionKind: Kind of function
toXML
Returns a string with the XML representation of the expression
function toXML()