JDatabaseQueryMySQL::having: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 4: | Line 4: | ||
<source lang="php"> | <source lang="php"> | ||
| Line 38: | Line 38: | ||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | ||
* [[API17:JDatabaseQueryMySQL::having|Other versions of JDatabaseQueryMySQL::having]] | * [[API17:JDatabaseQueryMySQL::having|Other versions of JDatabaseQueryMySQL::having]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JDatabaseQueryMySQL::having | category=JDatabaseQueryMySQL::having | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Latest revision as of 02:44, 25 March 2017
JDatabaseQueryMySQL::having
Description
public function having (
$conditions
$glue='AND'
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $conditions | mixed | A string or array of columns. | |
| $glue | string | 'AND' | $glue |
- Returns Returns this object to allow chaining.
- Defined on line 267 of libraries/joomla/database/database/mysqlquery.php
- Since

See also
JDatabaseQueryMySQL::having source code on BitBucket
Class JDatabaseQueryMySQL
Subpackage Database- Other versions of JDatabaseQueryMySQL::having
User contributed notes
Code Examples