GET https://testy.skleponline.pl/firma-testowa-1/p/promocja-1

Query Metrics

9 Database Queries
9 Different statements
1.11 ms Query time
0 Invalid entities
12 Managed entities

Queries

Group similar statements

# Time Info
1 0.14 ms
SELECT u0_.id AS id_0, u0_.username AS username_1, u0_.password AS password_2, u0_.email AS email_3, u0_.type AS type_4, u0_.is_active AS is_active_5, u1_.id AS id_6, u1_.name AS name_7, u1_.slug AS slug_8, u1_.description AS description_9, u1_.image AS image_10, u1_.tin AS tin_11, u1_.street AS street_12, u1_.postal_code AS postal_code_13, u1_.city AS city_14, u1_.bank_account_number AS bank_account_number_15, u1_.id_user AS id_user_16 FROM user u0_ INNER JOIN user_company u1_ ON u0_.id = u1_.id_user WHERE u0_.type = ? AND u0_.is_active = 1 AND u1_.slug = ?
Parameters:
[
  2
  "firma-testowa-1"
]
2 0.14 ms
SELECT p0_.id AS id_0, p0_.template_type AS template_type_1, p0_.date_from AS date_from_2, p0_.date_to AS date_to_3, p0_.url_alias AS url_alias_4, p0_.type AS type_5, p0_.view_count AS view_count_6, p0_.completed_steps AS completed_steps_7, p0_.is_draft AS is_draft_8, p0_.payment_method AS payment_method_9, p0_.payment_id AS payment_id_10, p0_.paid_at AS paid_at_11, p0_.added_at AS added_at_12, p0_.id_presentation AS id_presentation_13, p0_.id_added_by_user AS id_added_by_user_14 FROM promotion p0_ WHERE p0_.id_added_by_user = ? AND p0_.url_alias = ?
Parameters:
[
  "3"
  "promocja-1"
]
3 0.15 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.logo AS logo_4, t0.primary_button_background_color AS primary_button_background_color_5, t0.primary_button_text_color AS primary_button_text_color_6, t0.default_button_background_color AS default_button_background_color_7, t0.default_button_text_color AS default_button_text_color_8, t0.completed_steps AS completed_steps_9, t0.is_published AS is_published_10, t0.added_at AS added_at_11, t0.id_added_by_user AS id_added_by_user_12 FROM presentation t0 WHERE t0.id = ?
Parameters:
[
  "1"
]
4 0.12 ms
SELECT t0.id AS id_1, t0.gross_price AS gross_price_2, t0.quantity AS quantity_3, t0.id_promotion AS id_promotion_4, t0.id_presentation_product AS id_presentation_product_5 FROM promotion_product t0 WHERE t0.id_promotion = ? ORDER BY t0.id ASC
Parameters:
[
  1
]
5 0.14 ms
SELECT t0.id AS id_1, t0.id_presentation AS id_presentation_2, t0.id_product AS id_product_3 FROM presentation_product t0 WHERE t0.id = ?
Parameters:
[
  "1"
]
6 0.12 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.ean AS ean_4, t0.sku AS sku_5, t0.price AS price_6, t0.vat AS vat_7, t0.gross_price AS gross_price_8, t0.stock_quantity AS stock_quantity_9, t0.added_at AS added_at_10, t0.id_product_category AS id_product_category_11, t0.id_added_by_user AS id_added_by_user_12 FROM product t0 WHERE t0.id = ?
Parameters:
[
  "1"
]
7 0.10 ms
SELECT t0.id AS id_1, t0.image AS image_2, t0.id_product AS id_product_3 FROM product_image t0 WHERE t0.id_product = ? ORDER BY t0.id ASC
Parameters:
[
  1
]
8 0.09 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.description AS description_4, t0.icon AS icon_5, t0.lft AS lft_6, t0.rgt AS rgt_7, t0.depth AS depth_8 FROM product_category t0 WHERE t0.id = ?
Parameters:
[
  9
]
9 0.12 ms
SELECT p0_.id AS id_0, p0_.name AS name_1, p0_.slug AS slug_2, p0_.description AS description_3, p0_.icon AS icon_4, p0_.lft AS lft_5, p0_.rgt AS rgt_6, p0_.depth AS depth_7 FROM product_category p0_ WHERE p0_.lft < ? AND p0_.rgt > ? ORDER BY p0_.lft DESC
Parameters:
[
  3
  4
]

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\Admin\Modules\Settings\Entity\ProductCategory 3
App\Admin\Modules\Product\Entity\ProductImage 2
App\Modules\User\Entity\User 1
App\Admin\Modules\Company\Entity\UserCompany 1
App\Admin\Modules\Promotion\Entity\Promotion 1
App\Admin\Modules\Presentation\Entity\Presentation 1
App\Admin\Modules\Promotion\Entity\PromotionProduct 1
App\Admin\Modules\Presentation\Entity\PresentationProduct 1
App\Admin\Modules\Product\Entity\Product 1