public bool VisitExprInsertValueRow(ExprInsertValueRow expr, TCtx arg) { var res = this.Visit(expr, "InsertValueRow", arg, out var argOut) && this.Accept("Items", expr.Items, argOut); this._visitor.EndVisitExpr(expr, arg); return(res); }
public bool VisitExprInsertValueRow(ExprInsertValueRow exprInsertValueRow, IExpr?arg) { if (exprInsertValueRow.Items == null || exprInsertValueRow.Items.Count < 1) { throw new SqExpressException("Row value should have at least one column"); } this.AcceptListComaSeparatedPar('(', exprInsertValueRow.Items, ')', exprInsertValueRow); return(true); }
public static ExprInsertValueRow WithItems(this ExprInsertValueRow original, IReadOnlyList <IExprAssigning> newItems) => new ExprInsertValueRow(items: newItems);