DB rows access object. This object has DB table fields values available for reading.

hasNext()

return true if ResultSet has next row

next()

return next row object and make it current for hasNext function result


Examples:


resultSet = connection.request ("SELECT * FROM Test", nil)

while resultSet.hasNext() do

       row = resultSet.next()

       print(row.field1.." "..row.field2)

end

Created with the Personal Edition of HelpNDoc: Easy EPub and documentation editor