# File lib/dbd_pg/Pg.rb, line 665 def [](attr) case attr when 'pg_row_count' if @result @result.row_count else nil end else @attr[attr] end end