Query unSetters Nickel !

<?php include('surikat/control.php');control::dev();
use model\SQLComposer;
use model\Query;
function test($s){
	$s->from('(SELECT test FROM virtual WHERE foo IN
(?,?,?,?))',array('bar1',1,2,3));
	$s->from('(SELECT test FROM virtual WHERE foo IN
(?,?,?,?))',array('bar2',1,2,3));
	$s->from('(SELECT test2 FROM virtual WHERE
foo=:foo)',array('foo'=>'bar'));
	$s->from('(SELECT test2 FROM virtual WHERE
foo=:foo)',array('foo'=>'bar'));
	//$s->unFrom('(SELECT test2 FROM virtual WHERE foo=:foo)');
	$s->unFrom('(SELECT test FROM virtual WHERE foo IN
(?,?,?,?))',false);
	$s->unFrom('(SELECT test FROM virtual WHERE foo IN
(?,?,?,?))',array('bar1',1,2,3));
	$s->where('foo=?',array('bar'));
	$s->select('hello');
	$s->unSelect('hello');
	$s->unWhere('foo=?');
	//$s->unWhere('foo=?',array('bar'));
	echo '<pre>';
	echo $s->getQuery()."\r\n";
	print_r($s->getParams());
	echo '</pre>';
}
test( SQLComposer::select() );
test( new Query('table') );