Inheritance: FunctionExpression
 public virtual void Visit(Timestampadd node)
 {
 }
Example #2
0
 /// <summary>first '(' has been consumed</summary>
 /// <exception cref="System.SqlSyntaxErrorException" />
 private Timestampadd Timestampadd()
 {
     var unit = IntervalPrimaryUnit();
     Match(MySqlToken.PuncComma);
     var interval = Expression();
     Match(MySqlToken.PuncComma);
     var expr = Expression();
     Match(MySqlToken.PuncRightParen);
     IList<IExpression> argument = new List<IExpression>(2);
     argument.Add(interval);
     argument.Add(expr);
     var func = new Timestampadd(unit, argument);
     func.SetCacheEvalRst(cacheEvalRst);
     return func;
 }