Packagecom.maclema.mysql.events
Classpublic class MySqlEvent
InheritanceMySqlEvent Inheritance flash.events.Event

MySql Events are dispatched on successful sql queries or commands to the database. If the command sent results is a data set, a MySqlEvent.RESULT event is dispatched. In the case of a data manipulation command, a MySqlEvent.RESPONSE event is dispatched.



Public Properties
 PropertyDefined By
  affectedRows : int
The number of affected rows for a RESPONSE event.
MySqlEvent
  insertID : int
The insert id for a RESPONSE event.
MySqlEvent
  params : MySqlOutputParams
The returned output parameters
MySqlEvent
  resultSet : ResultSet
The ResultSet for a RESULT event
MySqlEvent
  rowsAvailable : int
The total number of rows available so far
MySqlEvent
Public Methods
 MethodDefined By
  
MySqlEvent(type:String)
Constructs a new MySqlEvent object.
MySqlEvent
  
MySqlEvent
Public Constants
 ConstantDefined By
  COLUMNDATA : String = columndata
[static]
MySqlEvent
  PARAMS : String = params
[static]
MySqlEvent
  RESPONSE : String = response
[static]
MySqlEvent
  RESULT : String = result
[static]
MySqlEvent
  ROWDATA : String = rowdata
[static]
MySqlEvent
Property Detail
affectedRowsproperty
public var affectedRows:int

The number of affected rows for a RESPONSE event.

insertIDproperty 
public var insertID:int

The insert id for a RESPONSE event.

paramsproperty 
public var params:MySqlOutputParams

The returned output parameters

resultSetproperty 
public var resultSet:ResultSet

The ResultSet for a RESULT event

rowsAvailableproperty 
public var rowsAvailable:int

The total number of rows available so far

Constructor Detail
MySqlEvent()Constructor
public function MySqlEvent(type:String)

Constructs a new MySqlEvent object.

Parameters
type:String
Method Detail
copy()method
public function copy():MySqlEvent

Returns
MySqlEvent
Constant Detail
COLUMNDATAConstant
public static const COLUMNDATA:String = columndata

PARAMSConstant 
public static const PARAMS:String = params

RESPONSEConstant 
public static const RESPONSE:String = response

RESULTConstant 
public static const RESULT:String = result

ROWDATAConstant 
public static const ROWDATA:String = rowdata