.

DBQueryDelete Class Reference
[Model]

A delete query. More...

Inheritance diagram for DBQueryDelete:
DBQueryOrdered DBQueryLimited DBQuery IDBQuery IDBSqlBuilder IPolicyHolder IDBWhereHolder

List of all members.

Public Member Functions

  get_sql ()
  Return SQL fragment.

Detailed Description

A delete query.

Author:
Gerd Riesselmann

Definition at line 10 of file dbquery.delete.php.


Member Function Documentation

DBQueryDelete::get_sql (  ) 

Return SQL fragment.

Returns:
string

Implements IDBSqlBuilder.

Definition at line 16 of file dbquery.delete.php.

00016                                   {
00017                 $params = array();
00018                 $params['fields'] = $this->fields; 
00019                 $params['limit'] = $this->get_limit();
00020                 $params['order_by'] = $this->get_orders();
00021                 $builder = DBSqlBuilderFactory::create_builder(DBSqlBuilderFactory::DELETE, $this, $params);
00022                 return $builder->get_sql();             
00023         }       

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