getQueryCount() public method

Get the number of queries made to the database
public getQueryCount ( ) : integer
return integer
コード例 #1
0
ファイル: QueryCounter.php プロジェクト: ibou77/elgg
 /**
  * Get the number of queries performed since the object was constructed
  *
  * @return int # of queries
  */
 public function getDelta()
 {
     return $this->db->getQueryCount() - $this->initial;
 }