Elgg\Mocks\Database\EntityTable::clearQuerySpecs PHP Method

clearQuerySpecs() public method

Clear query specs
public clearQuerySpecs ( integer $guid ) : void
$guid integer GUID
return void
    public function clearQuerySpecs($guid)
    {
        if (!empty($this->query_specs[$guid])) {
            foreach ($this->query_specs[$guid] as $spec) {
                $this->db->removeQuerySpec($spec);
            }
        }
    }