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