JDatabaseQuery::where: Difference between revisions
From Joomla! Documentation
m →See also: moving preparation |
m clean up |
||
| Line 4: | Line 4: | ||
{{Description:JDatabaseQuery::where}} | {{subst:Description:JDatabaseQuery::where}} | ||
<source lang="php"> | <source lang="php"> | ||
public function where ( | public function where ( | ||
| Line 40: | Line 38: | ||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | ||
* [[API17:JDatabaseQuery::where|Other versions of JDatabaseQuery::where]] | * [[API17:JDatabaseQuery::where|Other versions of JDatabaseQuery::where]] | ||
{{SeeAlso:JDatabaseQuery::where}} | {{subst:SeeAlso:JDatabaseQuery::where}} | ||
===User contributed notes=== | ===User contributed notes=== | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
Revision as of 15:08, 24 March 2017
JDatabaseQuery::where
Description
{{subst:Description:JDatabaseQuery::where}}
public function where (
$conditions
$glue='AND'
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $conditions | mixed | A string or array of where conditions. | |
| $glue | string | 'AND' | $glue |
- Returns Returns this object to allow chaining.
- Defined on line 414 of libraries/joomla/database/databasequery.php
- Since

See also
JDatabaseQuery::where source code on BitBucket
Class JDatabaseQuery
Subpackage Database- Other versions of JDatabaseQuery::where
{{subst:SeeAlso:JDatabaseQuery::where}}
User contributed notes
<CodeExamplesForm />