public function clearQuerySpecs($id) { if (!empty($this->query_specs[$id])) { foreach ($this->query_specs[$id] as $spec) { $this->db->removeQuerySpec($spec); } } }