public function getByCondition($key, $comparator, $value = null)
    {
        $query = $this->createQuery();
        $conditionSet = $query->buildAndSet([$key, $comparator, $value]);
        return $this->getByConditionSet($conditionSet);
    }
public function getByCondition($key, $comparator, $value = null)
    {
        $query = $this->createQuery();
        $conditionSet = $query->buildAndSet([$key, $comparator, $value]);
        return $this->getByConditionSet($conditionSet);
    }
public function getByCondition ( $ key , $ comparator , $ value = null ) { $ query = $ this -> createQuery ( ) ; $ conditionSet = $ query -> buildAndSet ( [ $ key , $ comparator , $ value ] ) ; return $ this -> getByConditionSet ( $ conditionSet ) ; }
Returns all rows matching specific condition parameters given.

@param string     $key
@param string     $comparator
@param mixed|null $value

@return \Parable\ORM\Model[]|\Parable\ORM\Model
Returns all rows matching specific condition parameters given .