# File lib/dbd/pg/statement.rb, line 100
100:     def [](attr)
101:         case attr
102:         when 'pg_row_count'
103:             if @result
104:                 @result.row_count
105:             else
106:                 nil
107:             end
108:         else
109:             @attr[attr]
110:         end
111:     end