Using the Kohana query builder, is it possible to build my query in parts.
Then do the counting on the specified query.
Then run the query itself.
All without the need to write repeating conditional expressions ... one for counting and one for results ...
Adding
DB::select(array('COUNT("pid")', 'mycount'))
Only one entry is displayed in the main query.
Is it possible to execute an account and somehow delete
array('COUNT("pid")', 'mycount')
from the selection ...
Right now, the only way I can think of is to find and replace on the SQL code itself, and then just run the specified SQL code ... there should be a better way, though ... I hope ...
Thank!
source
share