My custom entity type comes with a string field for which I would prefer case sensitive queries. When I use
$query = \Drupal::entityQuery('my_entity_type') ->condition('my_token_field', 'SomeSortofTokenString') ->execute();
the result will include all entities no matter if the string in
my_token_field is written the same way or for example with lowercases only.
my_token_field is set a base field of type string - maybe this is the problem?