コード例 #1
0
ファイル: Wpdb.php プロジェクト: bravadomizzou/dewdrop
 /**
  * Use the SQL_CALC_FOUND_ROWS facility in MySQL to calculate the total
  * number of rows that would have been returned from a query if no LIMIT
  * had been applied.
  *
  * @param Select $select
  * @return void
  */
 public function prepareSelectForTotalRowCalculation(Select $select)
 {
     $select->preColumnsOption('SQL_CALC_FOUND_ROWS');
 }