public function QueryConditionInterface::where

cis7 query.inc public QueryConditionInterface::where($snippet, $args = array())
cle7 query.inc public QueryConditionInterface::where($snippet, $args = array())
elmsmedia7 query.inc public QueryConditionInterface::where($snippet, $args = array())
icor7 query.inc public QueryConditionInterface::where($snippet, $args = array())
meedjum_blog7 query.inc public QueryConditionInterface::where($snippet, $args = array())
mooc7 query.inc public QueryConditionInterface::where($snippet, $args = array())

Adds an arbitrary WHERE clause to the query.

Parameters

$snippet: A portion of a WHERE clause as a prepared statement. It must use named placeholders, not ? placeholders.

$args: An associative array of arguments.

Return value

QueryConditionInterface The called object.

6 methods override QueryConditionInterface::where()
DatabaseCondition::where in includes/database/query.inc
Implements QueryConditionInterface::where().
DeleteQuery::where in includes/database/query.inc
Implements QueryConditionInterface::where().
MergeQuery::where in includes/database/query.inc
Implements QueryConditionInterface::where().
SelectQuery::where in includes/database/select.inc
Adds an arbitrary WHERE clause to the query.
SelectQueryExtender::where in includes/database/select.inc
Adds an arbitrary WHERE clause to the query.

... See full list

File

includes/database/query.inc, line 60
Non-specific Database query code. Used by all engines.

Class

QueryConditionInterface
Interface for a conditional clause in a query.

Code

public function where($snippet, $args = array());
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.