public function testCompile() { $query = new Query('This'); $this->assertEquals('This', $query->getQuery()); }
/** * Compile a subquery * * @param Collector $collection query collector * @return string subquery sql */ public function compileSubQuery(Query $query) { return '(' . $query->getQuery($this->connection) . ')'; }