public function where($condition, $value = null) { if ($value === '*') { return $this; // Wildcard only filters are ignored so stop early here to avoid joining a table for nothing } $this->requireColumn($condition); $col = $this->getMappedField($condition); if ($col === null) { throw new IcingaException('No such field: %s', $condition); } return parent::where($col, $value); }