API17

JDatabaseQuery::having: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Bulk upload by Doxiki2
 
m preparing for archive only
 
(6 intermediate revisions by 2 users not shown)
Line 2: Line 2:
=={{JVer|11.1}} JDatabaseQuery::having==
=={{JVer|11.1}} JDatabaseQuery::having==
===Description===
===Description===
A conditions to the HAVING clause of the query.


{{Description:JDatabaseQuery::having}}
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JDatabaseQuery::having|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
===Since===
{{JVer|11.1 }}
===Synopsis===
<source lang="php">
<source lang="php">
public JDatabaseQuery->having ($conditions, $glue='AND')
public function having (
        $conditions
        $glue='AND'
)
</source>
</source>
{| class="wikitable"
{| class="wikitable"
Line 29: Line 27:
|string
|string
|'AND'
|'AND'
|The glue by which to join the conditions. Defaults to AND.
|$glue
|-
|-
|}
|}
===Returns===
* '''Returns''' Returns this object to allow chaining.
Returns this object to allow chaining.
* '''Defined''' on line 431 of libraries/joomla/database/databasequery.php
===Defined in===
* '''Since''' {{JVer|11.1 }}
libraries/joomla/database/databasequery.php
===Referenced by===
===See also===
===See also===
<span class="editsection" style="font-size:76%;">
* {{JVer|11.1}} '''JDatabaseQuery::having source code''' on [[jplatform:database/databasequery.php#cl-423|BitBucket]]
<nowiki>[</nowiki>[[SeeAlso:JDatabaseQuery::having|Edit See Also]]<nowiki>]</nowiki>
* {{JVer|11.1}} Class [[API17:JDatabaseQuery|JDatabaseQuery]]
</span>
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]]
* [[JDatabaseQuery/11.1|JDatabaseQuery]]
* [[API17:JDatabaseQuery::having|Other versions of JDatabaseQuery::having]]
* [[JDatabaseQuery::having|Other versions of this method]]
 
{{SeeAlso:JDatabaseQuery::having}}
 
===Examples===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JDatabaseQuery::having
category=JDatabaseQuery::having
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*
namespace=CodeExample
format= ,,,
format= ,,,
</dpl>
</dpl>
<noinclude>[[Category:JDatabaseQuery]][[Category:JDatabaseQuery::having]]</noinclude>
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 02:42, 25 March 2017

Joomla 11.1 JDatabaseQuery::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 431 of libraries/joomla/database/databasequery.php
  • Since Joomla 11.1

See also


User contributed notes

Code Examples