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;
        }
Exemple #3
0
 public void Set(TableExpression te, int [] assigns)
 {
     te.FetchTo(new SetResultSet(assigns, this), this);
 }
Exemple #4
0
 public void Select(TableExpression te)
 {
     te.FetchTo(ResultSet, this);
 }
Exemple #5
0
 public override bool TestIn( Value x, EvalEnv e )
 {
   var rs = new TestInResultSet( x, Type );
   TE.FetchTo( rs, e );
   return rs.Found;
 }