function QueryConditionInterface::where
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.
File
-
includes/
database/ query.inc, line 60
Class
- QueryConditionInterface
- Interface for a conditional clause in a query.
Code
public function where($snippet, $args = array());
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.