function countAliasTest()
 {
     $this->assertProjection('count(*) as `counting all`', 'count(*) as \'counting all\'', 'count(*) as "counting all"', 'count(*) as \'counting all\'', create(new \rdbms\Criteria())->setProjection(Projections::count('*'), "counting all"));
 }
 function regressionIteratorDatasetType()
 {
     $conn = DriverManager::getConnection('mock://mock/JOBS?autoconnect=1');
     $conn->setResultSet(new MockResultSet([['count' => 5]]));
     $crit = (new Criteria())->withProjection(Projections::count('*'));
     $this->peer->setConnection($conn);
     $this->assertInstanceOf(Record::class, $this->peer->iteratorFor($crit)->next());
 }