public void ExecuteSelect(TableExpression te, int [] assigns) { if (assigns != null) // assigns is list of local variables to be assigned. { te.FetchTo(new AssignResultSet(assigns, this), this); } else { te.FetchTo(ResultSet, this); } }
public For(TableExpression te, int[] assigns, Block b) { Fetched = 0; Assigns = assigns; LocalValues = b.Locals; var rs = new SingleResultSet(); te.FetchTo(rs, b); Rows = rs.Table.Rows; }
public void Set(TableExpression te, int [] assigns) { te.FetchTo(new SetResultSet(assigns, this), this); }
public void Select(TableExpression te) { te.FetchTo(ResultSet, this); }
public override bool TestIn( Value x, EvalEnv e ) { var rs = new TestInResultSet( x, Type ); TE.FetchTo( rs, e ); return rs.Found; }