GET https://lookwello.com/search?city=Laval&q=massage

Query Metrics

3 Database Queries
3 Different statements
1.73 ms Query time
0 Invalid entities
87 Managed entities

Queries

Group similar statements

#▲ Time Info
1 0.13 ms
SELECT t0.id AS id_1, t0.setting_key AS setting_key_2, t0.setting_value AS setting_value_3, t0.setting_type AS setting_type_4, t0.setting_group AS setting_group_5, t0.label AS label_6, t0.description AS description_7, t0.updated_at AS updated_at_8 FROM setting t0 WHERE t0.setting_key = ? LIMIT 1
Parameters:
[
  "maintenance_mode"
]
2 1.41 ms
SELECT b0_.id AS id_0, b0_.salon_name AS salon_name_1, b0_.slug AS slug_2, b0_.description AS description_3, b0_.address AS address_4, b0_.city AS city_5, b0_.latitude AS latitude_6, b0_.longitude AS longitude_7, b0_.languages AS languages_8, b0_.transport_info AS transport_info_9, b0_.payment_methods AS payment_methods_10, b0_.subscription_plan AS subscription_plan_11, b0_.salon_type AS salon_type_12, b0_.salon_categories AS salon_categories_13, b0_.is_verified AS is_verified_14, b0_.is_active AS is_active_15, b0_.offer_home_visit AS offer_home_visit_16, b0_.home_visit_radius AS home_visit_radius_17, b0_.staff_appointment_management AS staff_appointment_management_18, b0_.phone AS phone_19, b0_.website AS website_20, b0_.instagram AS instagram_21, b0_.facebook AS facebook_22, b0_.tiktok AS tiktok_23, b0_.created_at AS created_at_24, u1_.id AS id_25, u1_.email AS email_26, u1_.roles AS roles_27, u1_.password AS password_28, u1_.first_name AS first_name_29, u1_.last_name AS last_name_30, u1_.phone AS phone_31, u1_.avatar AS avatar_32, u1_.preferred_language AS preferred_language_33, u1_.created_at AS created_at_34, u1_.is_active AS is_active_35, u1_.is_verified AS is_verified_36, u1_.referral_code AS referral_code_37, u1_.wallet_balance AS wallet_balance_38, b0_.user_id AS user_id_39, u1_.referred_by_id AS referred_by_id_40 FROM barber_profile b0_ LEFT JOIN `user` u1_ ON b0_.user_id = u1_.id LEFT JOIN service s2_ ON b0_.id = s2_.barber_profile_id LEFT JOIN review r3_ ON b0_.id = r3_.barber_profile_id AND (r3_.is_hidden = 0) WHERE b0_.is_active = 1 AND ((b0_.salon_name LIKE ? OR b0_.description LIKE ? OR b0_.city LIKE ? OR s2_.name LIKE ? OR s2_.category LIKE ? OR s2_.sub_category LIKE ?)) AND LOWER(b0_.city) LIKE LOWER(?) GROUP BY b0_.id, u1_.id ORDER BY CASE WHEN b0_.subscription_plan = 'premium_plus' THEN 0 WHEN b0_.subscription_plan = 'premium' THEN 1 ELSE 2 END ASC, AVG(r3_.rating) DESC
Parameters:
[
  "%massage%"
  "%massage%"
  "%massage%"
  "%massage%"
  "%massage%"
  "%massage%"
  "%Laval%"
]
3 0.19 ms
SELECT t0.id AS id_1, t0.salon_name AS salon_name_2, t0.slug AS slug_3, t0.description AS description_4, t0.address AS address_5, t0.city AS city_6, t0.latitude AS latitude_7, t0.longitude AS longitude_8, t0.languages AS languages_9, t0.transport_info AS transport_info_10, t0.payment_methods AS payment_methods_11, t0.subscription_plan AS subscription_plan_12, t0.salon_type AS salon_type_13, t0.salon_categories AS salon_categories_14, t0.is_verified AS is_verified_15, t0.is_active AS is_active_16, t0.offer_home_visit AS offer_home_visit_17, t0.home_visit_radius AS home_visit_radius_18, t0.staff_appointment_management AS staff_appointment_management_19, t0.phone AS phone_20, t0.website AS website_21, t0.instagram AS instagram_22, t0.facebook AS facebook_23, t0.tiktok AS tiktok_24, t0.created_at AS created_at_25, t0.user_id AS user_id_26 FROM barber_profile t0 WHERE t0.is_active = ?
Parameters:
[
  1
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Managed Entities

default entity manager

Class Amount of managed objects
App\Entity\BarberProfile 43
App\Entity\User 43
App\Entity\Setting 1

Entities Mapping

Class Mapping errors
App\Entity\Setting No errors.
App\Entity\BarberProfile No errors.
App\Entity\User No errors.
App\Entity\Service No errors.
App\Entity\Review No errors.
App\Entity\Availability No errors.
App\Entity\SpecialClosure No errors.
App\Entity\StaffMember No errors.
App\Entity\Appointment No errors.
App\Entity\ProfilePhoto No errors.