onPHP

InsertQuery Class Reference

 

InsertQuery Class Reference
[Dynamic query builder]

Inheritance diagram for InsertQuery:

List of all members.

Public Member Functions

 into ($table)
 setTable ($table)
 Just an alias to behave like UpdateQuery.
 toDialectString (Dialect $dialect)
 where (LogicalObject $exp, $logic=null)
 andWhere (LogicalObject $exp)
 orWhere (LogicalObject $exp)


Detailed Description

Definition at line 16 of file InsertQuery.class.php.


Member Function Documentation

InsertQuery::into ( table  ) 

Returns:
InsertQuery

Definition at line 21 of file InsertQuery.class.php.

References InsertOrUpdateQuery::$table.

Referenced by setTable().

InsertQuery::setTable ( table  ) 

Just an alias to behave like UpdateQuery.

Returns:
InsertQuery

Reimplemented from InsertOrUpdateQuery.

Definition at line 33 of file InsertQuery.class.php.

References InsertOrUpdateQuery::$table, and into().

Here is the call graph for this function:

InsertQuery::toDialectString ( Dialect dialect  ) 

Reimplemented from QuerySkeleton.

Definition at line 38 of file InsertQuery.class.php.

References InsertOrUpdateQuery::$fields, Dialect::quoteField(), and Dialect::quoteValue().

Here is the call graph for this function:

InsertQuery::where ( LogicalObject exp,
logic = null 
)

Exceptions:
WrongArgumentException 
Returns:
QuerySkeleton

Reimplemented from QuerySkeleton.

Definition at line 69 of file InsertQuery.class.php.

InsertQuery::andWhere ( LogicalObject exp  ) 

Returns:
QuerySkeleton

Reimplemented from QuerySkeleton.

Definition at line 74 of file InsertQuery.class.php.

InsertQuery::orWhere ( LogicalObject exp  ) 

Returns:
QuerySkeleton

Reimplemented from QuerySkeleton.

Definition at line 79 of file InsertQuery.class.php.


The documentation for this class was generated from the following file:

generated by doxygen-1.5.5
for onPHP at Thu Aug 7 18:21:44 2008