JDatabaseQuery::where
From Joomla! Documentation
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JDatabaseQuery::where[edit]
Description[edit]
Add a single condition, or an array of conditions to the WHERE clause of the query.
Template:Description:JDatabaseQuery::where [Edit Descripton]
Since[edit]
Synopsis[edit]
public JDatabaseQuery->where ($conditions, $glue= 'AND')
Parameter | Type | Default | Description |
---|---|---|---|
$conditions | mixed | A string or array of where conditions. | |
$glue | string | 'AND' | The glue by which to join the conditions. Defaults to AND. |
Returns[edit]
Returns this object to allow chaining.
Defined in[edit]
libraries/joomla/database/databasequery.php
Referenced by[edit]
See also[edit]
Template:SeeAlso:JDatabaseQuery::where
Examples[edit]
<CodeExamplesForm />