Lucas Ceballos

Results 3 comments of Lucas Ceballos

It's a query modifier like 'DISTINCT', It would be usefull to know how many rows would be returned without the where condition/s. E.g: $query = DB::select('c.name' , 'c.surname', 'c.age') ->calc_found_rows()...

Yes you're right, i forgot to mention the use of the property, sorry about that, inside the compile method you do if ($this->_calc_found_rows === TRUE) { $query.= 'SQL_CALC_FOUND_ROWS '; }...

Yes i agree with you, but i'm not suggesting to put this method in the PDO driver, i guess that it could be added to Database_Query_Builder_Select class wich is generic...