I am using db_select in drupal 7, but now it is deprecated in drupal 8
So, if I need to create a query to list all users from the users_field_data table, what should I do?
Am I still using db_select or db_query , although they are deprecated functions? Or create a new controller for the extension from the " Select class " and make my request?
php mysql drupal drupal-8
Monty adel
source share