I want to use Data Tables in Kohana 3.0, but in all examples they core PHP code and normal queries. Is there any tutorial or example on how to use Kohana with data tables ??
Example:
$sQuery = "SELECT SQL_CALC_FOUND_ROWS ".str_replace(" , ", " ", implode(",",$aColumns))."FROM $sTable $sWhere $sOrder $sLimit";
How to write this type of queries in Kohana like DB::select(...)
? Give some good suggestions about writing queries in Kohana.