onPHP

OSQL Class Reference

 

OSQL Class Reference
[Dynamic query builder]

Factory for OSQL's queries. More...

Inheritance diagram for OSQL:

List of all members.

Static Public Member Functions

static select ()
static insert ()
static update ($table=null)
static delete ()
static truncate ($whom=null)
static createTable (DBTable $table)
static dropTable ($name, $cascade=false)


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(), and GenericDAO::makeSelectHead().

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.5
for onPHP at Thu Aug 7 18:22:05 2008