protected function getOneRowByUid($fields, $uid)
    {
        $queryBuilder = $this->getQueryBuilder();
        return $queryBuilder
            ->select($fields)
            ->from($this->table)
            ->where($queryBuilder->expr()->eq('uid', intval($uid)))
            ->execute()->fetch();
    }
protected function getOneRowByUid($fields, $uid)
    {
        $queryBuilder = $this->getQueryBuilder();
        return $queryBuilder
            ->select($fields)
            ->from($this->table)
            ->where($queryBuilder->expr()->eq('uid', intval($uid)))
            ->execute()->fetch();
    }
protected function getOneRowByUid ( $ fields , $ uid ) { $ queryBuilder = $ this -> getQueryBuilder ( ) ; return $ queryBuilder -> select ( $ fields ) -> from ( $ this -> table ) -> where ( $ queryBuilder -> expr ( ) -> eq ( 'uid' , intval ( $ uid ) ) ) -> execute ( ) -> fetch ( ) ; }
Retrieves a single row from the database by a given uid

@param string $fields
@param string $uid
@return mixed
Retrieves a single row from the database by a given uid