class JDBCHelper::Connection::ResultSet

Public Instance Methods

raw_output(column_index = 1) click to toggle source
# File lib/jdbc_helper/resultset.rb, line 4
def raw_output(column_index = 1)
  lines = []
  begin
    lines << @rset.getString(column_index)
  end while @rset.next

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