-
Notifications
You must be signed in to change notification settings - Fork 99
Closed
Labels
Description
I have another question.
Here is an example:
$firstQuery = (new SphinxQL($connection))->select(['id', 'name'])
->from('index_user');
$secondQuery = clone $firstQuery;
$count = $secondQuery->select(SphinxQL::expr('COUNT(*)'))->execute();
$items = $firstQuery->execute();
But this code will not work, because we have this line in select method:
$this->reset();
It is not very nice. Do you think it's necessary?
It would be great to be able to change select clause.