model = $query->applyRelation($this->relation); return $query->where(sprintf( "%s > '%s'", $this->getDbName(), Convert::raw2sql($this->getDbFormattedValue()) )); } public function isEmpty() { return $this->getValue() == null || $this->getValue() == ''; } }