1 query.inc | public MergeQuery::exists(SelectQueryInterface $select) |
Sets a condition that the specified subquery returns values.
Parameters
SelectQueryInterface $select: The subquery that must contain results.
Return value
QueryConditionInterface: The called object.
Overrides QueryConditionInterface::exists
File
- core/
includes/ database/ query.inc, line 1570 - Non-specific Database query code. Used by all engines.
Class
- MergeQuery
- General class for an abstracted MERGE query operation.
Code
public function exists(SelectQueryInterface $select) {
$this->condition->exists($select);
return $this;
}