GET https://cpanel.officechoice.sn/shop?categories%5B0%5D=5&direction=desc&page=7&sort=pv.finalPrice

Query Metrics

6 Database Queries
6 Different statements
5.81 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
1.23 ms
(21.12%)
1
SELECT DISTINCT p0_.id AS id_0, p0_.final_price AS final_price_1 FROM product_variant p0_ WHERE (p0_.is_active = 1) AND (p0_.deleted_at IS NULL) ORDER BY p0_.final_price DESC LIMIT 21 OFFSET 126
Parameters:
[]
1.10 ms
(18.89%)
1
SELECT COUNT(DISTINCT p0_.id) AS sclr_0 FROM product_variant p0_ WHERE (p0_.is_active = 1) AND (p0_.deleted_at IS NULL)
Parameters:
[]
1.03 ms
(17.74%)
1
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.slug AS slug_2, c0_.lft AS lft_3, c0_.lvl AS lvl_4, c0_.rgt AS rgt_5, c0_.image_path AS image_path_6, c0_.banner_image_path AS banner_image_path_7, c0_.is_active AS is_active_8 FROM category c0_ WHERE (c0_.is_active = 1) AND (c0_.deleted_at IS NULL) ORDER BY c0_.tree_root ASC, c0_.lft ASC
Parameters:
[]
0.91 ms
(15.59%)
1
SELECT MIN(p0_.final_price) AS sclr_0, MAX(p0_.final_price) AS sclr_1 FROM product_variant p0_ WHERE (p0_.is_active = 1) AND (p0_.deleted_at IS NULL)
Parameters:
[]
0.89 ms
(15.35%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.description AS description_4, t0.is_active AS is_active_5, t0.image_path AS image_path_6, t0.banner_image_path AS banner_image_path_7, t0.is_visible AS is_visible_8, t0.created_at AS created_at_9, t0.updated_at AS updated_at_10, t0.deleted_at AS deleted_at_11 FROM brand t0 WHERE t0.is_active = ? AND ((t0.deleted_at IS NULL))
Parameters:
[
  1
]
0.66 ms
(11.32%)
1
SELECT p0_.id AS sclr_0, p0_.name AS sclr_1, p0_.slug AS sclr_2, p0_.sale_price AS sclr_3, p0_.solde_price AS sclr_4, p0_.discount AS sclr_5, p0_.final_price AS sclr_6, p0_.is_new_arrival AS sclr_7, p0_.is_special_offer AS sclr_8, p0_.main_image_path AS sclr_9 FROM product_variant p0_ WHERE (p0_.is_active = 1 AND p0_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)) AND (p0_.deleted_at IS NULL) ORDER BY p0_.final_price DESC
Parameters:
[
  299
  306
  323
  296
  148
  154
  167
  168
  81
  211
  236
  43
  65
  66
  225
  233
  221
  325
  141
  144
  8
]

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\Brand No errors.
App\Entity\Product No errors.
App\Entity\ProductVariant No errors.