Elgg\Database::getQueryCount PHP 메소드

getQueryCount() 공개 메소드

Get the number of queries made to the database
public getQueryCount ( ) : integer
리턴 integer
    public function getQueryCount()
    {
        return $this->query_count;
    }

Usage Example

예제 #1
0
 /**
  * Get the number of queries performed since the object was constructed
  *
  * @return int # of queries
  */
 public function getDelta()
 {
     return $this->db->getQueryCount() - $this->initial;
 }