Titanium.Database.ResultSet

Object of Titanium.Database.
Platform Since
Android 0.1
iPhone 0.1
iPad 0.1
Mobile Web 1.8

Summary

The ResultSet instance returned by invoking a database SQL execute.

Methods

Name Summary
addEventListener

Adds the specified callback as an event listener for the named event.

close

close the result set and release resources. once closed, this result set must no longer be used

field

retrieve a row value by field index

fieldByName

retrieve a row value by field name

fieldCount

return the number of columns in the result set

fieldName

return the field name for field index

fireEvent

Fires a synthesized event to any registered listeners.

getRowCount

Gets the value of the rowCount property.

getValidRow

Gets the value of the validRow property.

isValidRow

return true if the row is a valid row

next

iterate to the next row in the result set.

removeEventListener

Removes the specified callback as an event listener for the named event.

setRowCount

Sets the value of the rowCount property.

setValidRow

Sets the value of the validRow property.

Properties

Name Type Summary
rowCount Number

the number of rows in the result set

validRow Boolean

returns true if the current row is still valid

Events

This type has no events.