JDatabaseQueryMySQL::where: Difference between revisions
From Joomla! Documentation
m →See also: moving preparation |
m clean up |
||
| Line 4: | Line 4: | ||
{{Description:JDatabaseQueryMySQL::where}} | {{subst:Description:JDatabaseQueryMySQL::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:JDatabaseQueryMySQL::where|Other versions of JDatabaseQueryMySQL::where]] | * [[API17:JDatabaseQueryMySQL::where|Other versions of JDatabaseQueryMySQL::where]] | ||
{{SeeAlso:JDatabaseQueryMySQL::where}} | {{subst:SeeAlso:JDatabaseQueryMySQL::where}} | ||
===User contributed notes=== | ===User contributed notes=== | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
Revision as of 15:10, 24 March 2017
JDatabaseQueryMySQL::where
Description
{{subst:Description:JDatabaseQueryMySQL::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 229 of libraries/joomla/database/database/mysqlquery.php
- Since

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