public QueryBase::condition($property, $value = NULL, $operator = NULL, $langcode = NULL)
Add a condition to the query or a condition group.
For example, to find all entities containing both the Turkish 'merhaba' and the Polish 'siema' within a 'greetings' text field:
$entity_ids = \Drupal::entityQuery($entity_type)
->condition('greetings', 'merhaba', '=', 'tr')
->condition('greetings.value', 'siema', '=', 'pl')
->execute();
Parameters
$field: Name of the field being qu