public function rowExists($field, $value)
    {
        $this->addWhere($field, $value);

        try {
            $this->selectOne();

            return true;
        } catch (ExceptionNoData $exception) {
            return false;
        }
    }
public function rowExists($field, $value)
    {
        $this->addWhere($field, $value);

        try {
            $this->selectOne();

            return true;
        } catch (ExceptionNoData $exception) {
            return false;
        }
    }
public function rowExists ( $ field , $ value ) { $ this -> addWhere ( $ field , $ value ) ; try { $ this -> selectOne ( ) ; return true ; } catch ( ExceptionNoData $ exception ) { return false ; } }
Check if value row exists in database..

@param  string $field
@param  mixed  $value Value
@return bool
Check if value row exists in database ..