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]

Returns:
SelectQuery

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

Referenced by ProtoDAO::fetchCollections(), GenericDAO::makeSelectHead(), and Criteria::toSelectQuery().

static OSQL::insert (  )  [static]

Returns:
InsertQuery

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

Referenced by StorableDAO::add(), StorableDAO::import(), and ManyToManyLinkedWorker::makeInsertQuery().

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

Returns:
UpdateQuery

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

Referenced by StorableDAO::save().

static OSQL::delete (  )  [static]

Returns:
DeleteQuery

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

Referenced by OneToManyLinkedLazy::$insert(), OneToManyLinkedFull::$insert(), NullDaoWorker::dropById(), BaseDaoWorker::dropById(), NullDaoWorker::dropByIds(), and BaseDaoWorker::dropByIds().

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 on Sun Dec 9 21:58:06 2007 for onPHP by  doxygen 1.5.4