We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13a46d3 commit 55764e2Copy full SHA for 55764e2
tests/SphinxQL/SphinxQLTest.php
@@ -648,10 +648,10 @@ public function testHaving()
648
$this->assertCount(2, $result);
649
$this->assertEquals('2', $result[1]['cnt']);
650
651
- $result = SphinxQL::create(self::$conn)->select(SphinxQL::expr('count(*) as cnt'))
+ $result = SphinxQL::create(self::$conn)->select(SphinxQL::expr('count(*) as cnt'), SphinxQL::expr('GROUPBY() gd'))
652
->from('rt')
653
->groupBy('gid')
654
- ->having('gid', 304)
+ ->having('gd', 304)
655
->execute();
656
657
$this->assertCount(1, $result);
0 commit comments