2

Assuming your field is a string, the field in the database will be field_first_name_value Assuming the field is attached to a user entity, the table for that field should be user__field_first_name (2 underscores between user and the field name) your need one more join to get that field value, it's not stored in users_field_data $database = \Drupal::service('...


Only top voted, non community-wiki answers of a minimum length are eligible