FunctionCall() public static method

public static FunctionCall ( $Name, ValueListExpression $ArgumentValueListExpression = null ) : FunctionCallExpression
$ArgumentValueListExpression ValueListExpression
return FunctionCallExpression
示例#1
0
 public function GetPersistExpression(CoreExpression $Expression)
 {
     return Expression::FunctionCall('UNHEX', Expression::ValueList([$Expression]));
 }
示例#2
0
 private function AddDateTimeInterval(CoreExpression &$ObjectExpression, CoreExpression $Value, $Unit)
 {
     $ObjectExpression = Expression::FunctionCall('TIMESTAMPADD', Expression::ValueList([Expression::Keyword($Unit), $Value, $ObjectExpression]));
 }
示例#3
0
 private function RandomInt(CoreExpression $Minimum, CoreExpression $Maximum)
 {
     //Add one due to flooring the random value
     $Maximum = $this->Add($Maximum, 1);
     $DifferenceExpression = Expression::BinaryOperation($Maximum, O\Binary::Subtraction, $Minimum);
     return $this->MapFunctionCallExpression('floor', [Expression::BinaryOperation($Minimum, O\Binary::Addition, Expression::BinaryOperation(Expression::FunctionCall('RAND'), O\Binary::Multiplication, $DifferenceExpression))]);
 }
 public function GetPersistExpression(CoreExpression $Expression)
 {
     return Expression::FunctionCall($this->PersistFunctionName, Expression::ValueList([$Expression]));
 }