public function offsetGet($offset): ?Row
    {
        if ($this->isCached($offset)) {
            return $this->getCached($offset);
        }

        return $this->cache[$offset] = $this->select()
            ->one()
            ->where('id = ', $offset)
            ->run();
    }
public function offsetGet($offset): ?Row
    {
        if ($this->isCached($offset)) {
            return $this->getCached($offset);
        }

        return $this->cache[$offset] = $this->select()
            ->one()
            ->where('id = ', $offset)
            ->run();
    }
public function offsetGet ( $ offset ) : ? Row { if ( $ this -> isCached ( $ offset ) ) { return $ this -> getCached ( $ offset ) ; } return $ this -> cache [ $ offset ] = $ this -> select ( ) -> one ( ) -> where ( 'id = ' , $ offset ) -> run ( ) ; }
Returns a row with a specific id.

@see ArrayAccess

@param mixed $offset
Returns a row with a specific id .