GET https://dev.jolecreation.com/boutique/produit/protege-carnet-sante-bicolore

Query Metrics

10 Database Queries
6 Different statements
2.66 ms Query time
1 Invalid entities
26 Managed entities

Queries

Group similar statements

# Time Info
1 0.81 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.description AS description_4, t0.price AS price_5, t0.stock AS stock_6, t0.is_available AS is_available_7, t0.is_featured AS is_featured_8, t0.is_personalizable AS is_personalizable_9, t0.materials AS materials_10, t0.dimensions AS dimensions_11, t0.created_at AS created_at_12, t0.updated_at AS updated_at_13, t0.main_category_id AS main_category_id_14 FROM product t0 WHERE t0.slug = ? LIMIT 1
Parameters:
[
  "protege-carnet-sante-bicolore"
]
2 0.32 ms
SELECT p0_.id AS id_0, p0_.name AS name_1, p0_.slug AS slug_2, p0_.description AS description_3, p0_.price AS price_4, p0_.stock AS stock_5, p0_.is_available AS is_available_6, p0_.is_featured AS is_featured_7, p0_.is_personalizable AS is_personalizable_8, p0_.materials AS materials_9, p0_.dimensions AS dimensions_10, p0_.created_at AS created_at_11, p0_.updated_at AS updated_at_12, p0_.main_category_id AS main_category_id_13 FROM product p0_ WHERE p0_.main_category_id = ? AND p0_.id <> ? AND p0_.is_available = true LIMIT 4
Parameters:
[
  94
  169
]
3 0.31 ms
SELECT p0_.id AS id_0, p0_.name AS name_1, p0_.slug AS slug_2, p0_.description AS description_3, p0_.price AS price_4, p0_.stock AS stock_5, p0_.is_available AS is_available_6, p0_.is_featured AS is_featured_7, p0_.is_personalizable AS is_personalizable_8, p0_.materials AS materials_9, p0_.dimensions AS dimensions_10, p0_.created_at AS created_at_11, p0_.updated_at AS updated_at_12, p0_.main_category_id AS main_category_id_13 FROM product p0_ WHERE p0_.is_available = true AND p0_.id NOT IN (?, ?, ?) LIMIT 2
Parameters:
[
  166
  170
  169
]
4 0.33 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.description AS description_4, t0.created_at AS created_at_5, t0.parent_id AS parent_id_6 FROM category t0 WHERE t0.id = ?
Parameters:
[
  94
]
5 0.26 ms
SELECT t0.id AS id_1, t0.filename AS filename_2, t0.alt_text AS alt_text_3, t0.is_main AS is_main_4, t0.position AS position_5, t0.created_at AS created_at_6, t0.product_id AS product_id_7 FROM product_image t0 WHERE t0.product_id = ?
Parameters:
[
  169
]
6 0.31 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.description AS description_4, t0.created_at AS created_at_5, t0.parent_id AS parent_id_6 FROM category t0 INNER JOIN product_categories ON t0.id = product_categories.category_id WHERE product_categories.product_id = ?
Parameters:
[
  169
]
7 0.12 ms
SELECT t0.id AS id_1, t0.filename AS filename_2, t0.alt_text AS alt_text_3, t0.is_main AS is_main_4, t0.position AS position_5, t0.created_at AS created_at_6, t0.product_id AS product_id_7 FROM product_image t0 WHERE t0.product_id = ?
Parameters:
[
  166
]
8 0.09 ms
SELECT t0.id AS id_1, t0.filename AS filename_2, t0.alt_text AS alt_text_3, t0.is_main AS is_main_4, t0.position AS position_5, t0.created_at AS created_at_6, t0.product_id AS product_id_7 FROM product_image t0 WHERE t0.product_id = ?
Parameters:
[
  170
]
9 0.06 ms
SELECT t0.id AS id_1, t0.filename AS filename_2, t0.alt_text AS alt_text_3, t0.is_main AS is_main_4, t0.position AS position_5, t0.created_at AS created_at_6, t0.product_id AS product_id_7 FROM product_image t0 WHERE t0.product_id = ?
Parameters:
[
  160
]
10 0.05 ms
SELECT t0.id AS id_1, t0.filename AS filename_2, t0.alt_text AS alt_text_3, t0.is_main AS is_main_4, t0.position AS position_5, t0.created_at AS created_at_6, t0.product_id AS product_id_7 FROM product_image t0 WHERE t0.product_id = ?
Parameters:
[
  161
]

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\ProductImage 19
App\Entity\Product 5
App\Entity\Category 2

Entities Mapping

Class Mapping errors
App\Entity\Product No errors.
App\Entity\Category
  • The field App\Entity\Category#products is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Product#mainCategory does not contain the required 'inversedBy="products"' attribute.
App\Entity\ProductImage No errors.