public function Condition::notExists in MongoDB 8
Queries for the existence of a field.
Parameters
string $field:
Return value
Overrides ConditionInterface::notExists
See also
\Drupal\Core\Entity\Query\QueryInterface::notexists()
File
- src/
Entity/ Condition.php, line 38 - Contains Drupal\mongodb\Entity\ContentEntityStorage.
Class
Namespace
Drupal\mongodb\EntityCode
public function notExists($field, $langcode = NULL) {
$this
->condition($field, FALSE, '$exists', $langcode);
return $this;
}