GET https://7arfti.com/ar/listing?category=100

Query Metrics

7 Database Queries
7 Different statements
18.51 ms Query time
2 Invalid entities

Queries

Group similar statements

# Time Info
1 3.02 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.menu_order AS menu_order_4, t0.created_at AS created_at_5, t0.updated_at AS updated_at_6, t0.status AS status_7, t0.icon AS icon_8, t0.parent_category_id AS parent_category_id_9 FROM category t0 WHERE t0.id = ?
Parameters:
[
  "100"
]
2 11.29 ms
SELECT a0_.id AS id_0, a0_.title AS title_1, a0_.pricing_type AS pricing_type_2, a0_.price_type AS price_type_3, a0_.price AS price_4, a0_.max_price AS max_price_5, a0_.description AS description_6, a0_.business_hours AS business_hours_7, a0_.special_business_hours AS special_business_hours_8, a0_.images AS images_9, a0_.phone AS phone_10, a0_.whatsapp_number AS whatsapp_number_11, a0_.social_profiles AS social_profiles_12, a0_.created_at AS created_at_13, a0_.updated_at AS updated_at_14, a0_.expires_on AS expires_on_15, a0_.slug AS slug_16, a0_.views AS views_17, a0_.phone_click_count AS phone_click_count_18, a0_.phone_reveal_count AS phone_reveal_count_19, a0_.avg_rating AS avg_rating_20, a0_.deleted_at AS deleted_at_21, c1_.id AS id_22, c1_.name AS name_23, c1_.description AS description_24, c1_.menu_order AS menu_order_25, c1_.created_at AS created_at_26, c1_.updated_at AS updated_at_27, c1_.status AS status_28, c1_.icon AS icon_29, v2_.id AS id_30, v2_.name AS name_31, v2_.postal_code AS postal_code_32, a0_.category_id AS category_id_33, a0_.artisan_id AS artisan_id_34, a0_.ville_id AS ville_id_35, a0_.region_id AS region_id_36, a0_.status_id AS status_id_37, c1_.parent_category_id AS parent_category_id_38 FROM artisan_post a0_ LEFT JOIN category c1_ ON a0_.category_id = c1_.id LEFT JOIN ville v2_ ON a0_.ville_id = v2_.id LEFT JOIN review r3_ ON a0_.id = r3_.artisan_post_id WHERE a0_.deleted_at IS NULL AND a0_.category_id = ? ORDER BY a0_.created_at DESC
Parameters:
[
  100
]
3 0.89 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.menu_order AS menu_order_4, t0.created_at AS created_at_5, t0.updated_at AS updated_at_6, t0.status AS status_7, t0.icon AS icon_8, t0.parent_category_id AS parent_category_id_9 FROM category t0 ORDER BY t0.menu_order ASC LIMIT 10
Parameters:
[]
4 0.58 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.postal_code AS postal_code_3 FROM ville t0 ORDER BY t0.id ASC LIMIT 10
Parameters:
[]
5 0.81 ms
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.description AS description_2, c0_.menu_order AS menu_order_3, c0_.created_at AS created_at_4, c0_.updated_at AS updated_at_5, c0_.status AS status_6, c0_.icon AS icon_7, c0_.parent_category_id AS parent_category_id_8 FROM category c0_
Parameters:
[]
6 0.82 ms
SELECT v0_.id AS id_0, v0_.name AS name_1, v0_.postal_code AS postal_code_2 FROM ville v0_
Parameters:
[]
7 1.11 ms
SELECT c0_.id AS id_0, c0_.name AS name_1, COUNT(a1_.id) AS sclr_2 FROM artisan_post a1_ INNER JOIN category c0_ ON a1_.category_id = c0_.id GROUP BY c0_.id, c0_.name ORDER BY sclr_2 DESC LIMIT 5
Parameters:
[]

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.

Entities Mapping

Class Mapping errors
App\Entity\Category No errors.
App\Entity\Artisan No errors.
App\Entity\ClientRequest No errors.
App\Entity\Ville No errors.
App\Entity\ArtisanPost
  • The field 'App\Entity\ArtisanPost#price' has the property type 'float' that differs from the metadata field type 'string' returned by the 'decimal' DBAL type.
  • The field 'App\Entity\ArtisanPost#maxPrice' has the property type 'float' that differs from the metadata field type 'string' returned by the 'decimal' DBAL type.
App\Entity\Review No errors.
App\Entity\Region No errors.
App\Entity\Status No errors.
App\Entity\User
  • The field App\Entity\User#artisan is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Artisan#user does not contain the required 'inversedBy="artisan"' attribute.