Sha256: 4412c1990896e49653758802e363472ccdcbb7342fabd8cf73500f15100b1df6

Contents?: true

Size: 275 Bytes

Versions: 1

Compression:

Stored size: 275 Bytes

Contents

module JDBCHelper
  class Connection
    class ResultSet
      def raw_output(column_index = 1)
        lines = []
        begin
          lines << @rset.getString(column_index)
        end while @rset.next

        lines.map(&:rstrip).join("\n")
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
athena-cli-0.1.0 lib/jdbc_helper/resultset.rb