addFrom adds fields to the FROM part of the query
Parameters:
string |
$from: |
Query FROM part |
API Tags:
addGroupBy adds fields to the GROUP BY part of the query
Parameters:
string |
$groupby: |
Query GROUP BY part |
API Tags:
addHaving adds conditions to the HAVING part of the query
Parameters:
string |
$having: |
Query HAVING part |
mixed |
$params: |
an array of parameters or a simple scalar |
API Tags:
addOrderBy adds fields to the ORDER BY part of the query
Parameters:
string |
$orderby: |
Query ORDER BY part |
API Tags:
addSelect adds fields to the SELECT part of the query
Parameters:
string |
$select: |
Query SELECT part |
API Tags:
addWhere adds conditions to the WHERE part of the query
Parameters:
string |
$where: |
Query WHERE part |
mixed |
$params: |
an array of parameters or a simple scalar |
API Tags:
delete sets the query type to DELETE
API Tags:
distinct Makes the query SELECT DISTINCT.
Parameters:
bool |
$flag: |
Whether or not the SELECT is DISTINCT (default true). |
API Tags:
forUpdate Makes the query SELECT FOR UPDATE.
Parameters:
bool |
$flag: |
Whether or not the SELECT is FOR UPDATE (default true). |
API Tags:
from sets the FROM part of the query
Parameters:
string |
$from: |
Query FROM part |
API Tags:
groupBy sets the GROUP BY part of the query
Parameters:
string |
$groupby: |
Query GROUP BY part |
API Tags:
having sets the HAVING part of the query
Parameters:
string |
$having: |
Query HAVING part |
mixed |
$params: |
an array of parameters or a simple scalar |
API Tags:
innerJoin appends an INNER JOIN to the FROM part of the query
Parameters:
string |
$join: |
Query INNER JOIN |
API Tags:
leftJoin appends a LEFT JOIN to the FROM part of the query
Parameters:
string |
$join: |
Query LEFT JOIN |
API Tags:
limit sets the Query query limit
Parameters:
integer |
$limit: |
limit to be used for limiting the query results |
API Tags:
offset sets the Query query offset
Parameters:
integer |
$offset: |
offset to be used for paginating the query |
API Tags:
orderBy sets the ORDER BY part of the query
Parameters:
string |
$orderby: |
Query ORDER BY part |
API Tags:
Doctrine_Query parseQueryPart(
string
$queryPartName, string
$queryPart, [boolean
$append = false]
)
|
|
parseQueryPart parses given DQL query part
Parameters:
string |
$queryPartName: |
the name of the query part |
string |
$queryPart: |
query part to be parsed |
boolean |
$append: |
whether or not to append the query part to its stack if false is given, this method will overwrite the given query part stack with $queryPart |
API Tags:
Return: | this object |
Abstract: | |
Access: | public |
Redefined in descendants as:
select sets the SELECT part of the query
Parameters:
string |
$select: |
Query SELECT part |
API Tags:
set sets the SET part of the query
Parameters:
string |
$update: |
Query UPDATE part |
|
$key: |
|
|
$value: |
|
|
$params: |
|
API Tags:
update sets the UPDATE part of the query
Parameters:
string |
$update: |
Query UPDATE part |
API Tags:
Doctrine_Query where(
$where, [mixed
$params = array()], string
$join
)
|
|
where sets the WHERE part of the query
Parameters:
string |
$join: |
Query WHERE part |
mixed |
$params: |
an array of parameters or a simple scalar |
|
$where: |
|
API Tags:
whereIn adds IN condition to the query WHERE part
Parameters:
string |
$expr: |
|
mixed |
$params: |
an array of parameters or a simple scalar |
API Tags: