1 query.inc public DatabaseCondition::exists(SelectQueryInterface $select)

Implements QueryConditionInterface::exists().

Overrides QueryConditionInterface::exists

File

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

Class

DatabaseCondition
Generic class for a series of conditions in a query.

Code

public function exists(SelectQueryInterface $select) {
  return $this->condition('', $select, 'EXISTS');
}