ConditionInterface::where
public function ConditionInterface::where
public ConditionInterface::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
\Drupal\Core\Database\Query\ConditionInterface The called object.
File
- core/lib/Drupal/Core/Database/Query/登录查看完整内容