Xyndravandria Dyverath  Alpha 0.0.0
 All Data Structures Namespaces Functions Variables
Update Class Reference
Inheritance diagram for Update:
Query

Public Member Functions

 __construct (Table $Table, UpdateStatement $UpdateStatement, Where $Where=null)
 
 __ToString ()
 
 Optimise ()
 

Protected Attributes

 $Table
 

Private Attributes

 $UpdateStatement
 
 $Where
 

Constructor & Destructor Documentation

__construct ( Table  $Table,
UpdateStatement  $UpdateStatement,
Where  $Where = null 
)

Creates a new Update.

Parameters
Table$Table,:The Table this Query is executed in.
UpdateStatement$UpdateStatement,:The UpdateStatement assigning new values for the columns.
Where$Where,:The Where which constrains the Query.

Member Function Documentation

__ToString ( )

Returns the complete statement.

Returns
string
Optimise ( )

Optimises an Update.

Field Documentation

$Table
protectedinherited

The Table this Query is executed in.

Type:
Table
$UpdateStatement
private

The UpdateStatement assigning new values for the columns.

Type:
UpdateStatement
$Where
private

The Where which constrains the Query.

Type:
Where