Select a different column using entityQuery

$temporary = Drupal::entityQuery(‘group_content’)->condition(‘id’, $id)->execute();

This is returning the ‘id’ column in my table. I want a different column, entity_id. What should I call to return a different column rather than only returning the id column in the table.

Drupal version: 


Source: https://www.drupal.org/taxonomy/term/4/feed