onPHP

OSQL Class Reference

 

OSQL Class Reference
[Dynamic query builder]

Factory for OSQL's queries. More...

Inheritance diagram for OSQL:

Inheritance graph
[legend]
List of all members.

Static Public Member Functions

static select ()
 
Returns:
SelectQuery

static insert ()
 
Returns:
InsertQuery

static update ($table=null)
 
Returns:
UpdateQuery

static delete ()
 
Returns:
DeleteQuery

static truncate ($whom=null)
 
Returns:
TruncateQuery

static createTable (DBTable $table)
 
Returns:
CreateTableQuery

static dropTable ($name, $cascade=false)
 
Returns:
DropTableQuery


Detailed Description

Factory for OSQL's queries.

See also:
http://onphp.org/examples.OSQL.en.html

Definition at line 20 of file OSQL.class.php.


Member Function Documentation

static OSQL::select (  )  [static]

static OSQL::insert (  )  [static]

static OSQL::update ( table = null  )  [static]

Returns:
UpdateQuery

Definition at line 41 of file OSQL.class.php.

Referenced by OneToManyLinkedLazy::makeMassUpdateQuery(), and StorableDAO::save().

static OSQL::truncate ( whom = null  )  [static]

Returns:
TruncateQuery

Definition at line 57 of file OSQL.class.php.

static OSQL::createTable ( DBTable table  )  [static]

Returns:
CreateTableQuery

Definition at line 65 of file OSQL.class.php.

Referenced by DBTable::toDialectString().

static OSQL::dropTable ( name,
cascade = false 
) [static]

Returns:
DropTableQuery

Definition at line 73 of file OSQL.class.php.


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

generated by doxygen-1.5.1
for onPHP at Sat Sep 1 21:08:09 2007