API17

JDatabaseQuery::where

From Joomla! Documentation

Revision as of 18:18, 20 April 2011 by Doxiki2 (talk | contribs) (Bulk upload by Doxiki2)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.

Joomla 11.1 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]

Joomla 11.1

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]

[Edit See Also]

Template:SeeAlso:JDatabaseQuery::where

Examples[edit]

<CodeExamplesForm />