setSelect() public method

Set select-list (attributes or expressions), SQL-like syntax
public setSelect ( string $select ) : SphinxClient
$select string select list
return SphinxClient
Example #1
0
 public function testSetSelect()
 {
     $sphinx = new SphinxClient();
     $sphinx->setSelect('*, @weight + 10 as myweight');
     $this->assertSame($sphinx->select, '*, @weight + 10 as myweight');
 }
 /**
  * {@inheritdoc}
  */
 public function setSelect($select)
 {
     return $this->proxy->setSelect($select);
 }