# File lib/dbd/pg/tuples.rb, line 62 62: def fetchrow 63: @index += 1 64: if @index < @pg_result.num_tuples && @index >= 0 65: @row = Array.new 66: 0.upto(@pg_result.num_fields-1) do |x| 67: @row.push(@pg_result.getvalue(@index, x)) 68: end 69: @row 70: else 71: nil 72: end 73: end