Packagecom.maclema.mysql
Classpublic class ResultSet



Public Properties
 PropertyDefined by
  numColumns : int
[read-only] Returns the number of columns in the ResultSet
ResultSet
Public Methods
 MethodDefined by
  
ResultSet
  
addColumn(rs:ResultSet, column:Field):void
[static] Used by Connection when building the ResultSet, should never be called directly
ResultSet
  
addRow(rs:ResultSet, row:Array):void
[static] Used by Connection when building the ResultSet, should never be called directly
ResultSet
  
first():Boolean
Moves the pointer to the first row
ResultSet
  
getColumns():Array
Returns an array for Field objects
ResultSet
  
getRows():ArrayCollection
Returns all rows as a bindable ArrayCollection
ResultSet
  
getString(column:*):String
Returns a String value from the specified column.
ResultSet
  
[static] Used by Connection when building the ResultSet, should never be called directly
ResultSet
  
last():Boolean
Moves the pointer to the last row.
ResultSet
  
next():Boolean
Advances the pointer to the next row
ResultSet
Property detail
numColumnsproperty
numColumns:int  [read-only]

Returns the number of columns in the ResultSet

Implementation
    public function get numColumns():int
Constructor detail
ResultSet()constructor
public function ResultSet()
Method detail
addColumn()method
public static function addColumn(rs:ResultSet, column:Field):void

Used by Connection when building the ResultSet, should never be called directly

Parameters
rs:ResultSet
 
column:Field
addRow()method 
public static function addRow(rs:ResultSet, row:Array):void

Used by Connection when building the ResultSet, should never be called directly

Parameters
rs:ResultSet
 
row:Array
first()method 
public function first():Boolean

Moves the pointer to the first row

Returns
Boolean
getColumns()method 
public function getColumns():Array

Returns an array for Field objects

Returns
Array
getRows()method 
public function getRows():ArrayCollection

Returns all rows as a bindable ArrayCollection

Returns
ArrayCollection
getString()method 
public function getString(column:*):String

Returns a String value from the specified column. You may specify columns using a 1-based number or the column name

Parameters
column:*

Returns
String
initialize()method 
public static function initialize(rs:ResultSet):void

Used by Connection when building the ResultSet, should never be called directly

Parameters
rs:ResultSet
last()method 
public function last():Boolean

Moves the pointer to the last row.

Returns
Boolean
next()method 
public function next():Boolean

Advances the pointer to the next row

Returns
Boolean