Pacoteflash.data
Classepublic class SQLSchemaResult
HerançaSQLSchemaResult Inheritance Object

A SQLSchemaResult instance contains the information resulting from a call to the SQLConnection.loadSchema() method. It contains four Array properties that hold the requested schema data requested, based on the argument values used when calling SQLConnection.loadSchema().

To retrieve the SQLSchemaResult instance for a SQLConnection.loadSchema() call, call the SQLConnection instance's getSchemaResult() method.

Veja também

flash.data.SQLConnection.loadSchema()
flash.data.SQLConnection.getSchemaResult()


Propriedades Públicas
 PropriedadeDefinido por
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  indices : Array
[read-only] An array of SQLIndexSchema instances requested in a call to SQLConnection.loadSchema().
SQLSchemaResult
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
  tables : Array
[read-only] An array of SQLTableSchema instances requested in a call to SQLConnection.loadSchema().
SQLSchemaResult
  triggers : Array
[read-only] An array of SQLTriggerSchema instances requested in a call to SQLConnection.loadSchema().
SQLSchemaResult
  views : Array
[read-only] An array of SQLViewSchema instances requested in a call to SQLConnection.loadSchema().
SQLSchemaResult
Métodos Públicos
 MétodoDefinido por
  
SQLSchemaResult(tables:Array, views:Array, indices:Array, triggers:Array)
Creates a SQLSchemaResult instance.
SQLSchemaResult
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Detalhes da propriedade
indicespropriedade
indices:Array  [read-only]

An array of SQLIndexSchema instances requested in a call to SQLConnection.loadSchema(). If the specified databases do not contain any indices, or if the loadSchema() call indicates that indices should be excluded from the result, the indices property is an empty array (an array whose length property is 0).


Implementação
    public function get indices():Array

Veja também

tablespropriedade 
tables:Array  [read-only]

An array of SQLTableSchema instances requested in a call to SQLConnection.loadSchema(). If the specified databases do not contain any tables, or if the loadSchema() call indicates that tables should be excluded from the result, the tables property is an empty array (an array whose length property is 0).


Implementação
    public function get tables():Array

Veja também

triggerspropriedade 
triggers:Array  [read-only]

An array of SQLTriggerSchema instances requested in a call to SQLConnection.loadSchema(). If the specified databases do not contain any triggers, or if the loadSchema() call indicates that triggers should be excluded from the result, the triggers property is an empty array (an array whose length property is 0).


Implementação
    public function get triggers():Array

Veja também

viewspropriedade 
views:Array  [read-only]

An array of SQLViewSchema instances requested in a call to SQLConnection.loadSchema(). If the specified databases do not contain any views, or if the loadSchema() call indicates that views should be excluded from the result, the views property is an empty array (an array whose length property is 0).


Implementação
    public function get views():Array

Veja também

Detalhes do construtor
SQLSchemaResult()Construtor
public function SQLSchemaResult(tables:Array, views:Array, indices:Array, triggers:Array)

Creates a SQLSchemaResult instance. Developers do not construct SQLSchemaResult instances directly. The runtime creates a SQLSchemaResult instance in response to a call to the SQLConnection.loadSchema() method.

Parâmetros
tables:Array — An array of SQLTableSchema instances as specified in the loadSchema() request.
 
views:Array — An array of SQLViewSchema instances as specified in the loadSchema() request.
 
indices:Array — An array of SQLIndexSchema instances as specified in the loadSchema() request.
 
triggers:Array — An array of SQLTriggerSchema instances as specified in the loadSchema() request.

Veja também