public virtual ISqlNode VisitIn(SqlInNode n) { var search = Visit(n.Search); var items = Visit(n.Items) as SqlListNode <ISqlNode>; return(n.Update(n.Not, search, items)); }
public ISqlNode VisitIn(SqlInNode n) { Append(n.Search, n.Not ? " NOT" : "", " IN (", n.Items, ")"); return(n); }
public override ISqlNode VisitIn(SqlInNode n) { _result.AssertIsNotEmpty(n, nameof(n.Items), n.Items); n.Items.Select((i, x) => _result.AssertIsScalarExpression(n.Items, x.ToString(), i)).All(x => x); return(base.VisitIn(n)); }