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;
 }