https://laiju.hbpt.xyz/api/category/product Return to referer URL

Query Metrics

14 Database Queries
5 Different statements
3.43 ms Query time
0 Invalid entities

Queries

Group similar statements

# Time Info
1 0.75 ms
SELECT count(p0_.id) AS sclr_0 FROM product p0_ LEFT JOIN product_category p1_ ON p0_.category_id = p1_.id WHERE p1_.id = ? OR p1_.parent_id = ? ORDER BY p0_.price ASC
Parameters:
[
  "2"
  "2"
]
2 0.30 ms
SELECT count(DISTINCT p0_.id) AS sclr_0 FROM product p0_ LEFT JOIN product_category p1_ ON p0_.category_id = p1_.id WHERE p1_.id = ? OR p1_.parent_id = ?
Parameters:
[
  "2"
  "2"
]
3 0.37 ms
SELECT DISTINCT p0_.id AS id_0, p0_.price AS price_1 FROM product p0_ LEFT JOIN product_category p1_ ON p0_.category_id = p1_.id WHERE p1_.id = ? OR p1_.parent_id = ? ORDER BY p0_.price ASC LIMIT 10
Parameters:
[
  "2"
  "2"
]
4 0.29 ms
SELECT p0_.id AS id_0, p0_.old_price AS old_price_1, p0_.price AS price_2, p0_.name AS name_3, p0_.image AS image_4, p0_.sales AS sales_5 FROM product p0_ LEFT JOIN product_category p1_ ON p0_.category_id = p1_.id WHERE (p1_.id = ? OR p1_.parent_id = ?) AND p0_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ORDER BY p0_.price ASC
Parameters:
[
  "2"
  "2"
  54
  61
  46
  34
  62
  69
  16
  17
  75
  52
]
5 0.29 ms
SELECT count(f0_.id) AS sclr_0 FROM finance_trade_product_comment f0_ WHERE f0_.product_id = ?
Parameters:
[
  54
]
6 0.15 ms
SELECT count(f0_.id) AS sclr_0 FROM finance_trade_product_comment f0_ WHERE f0_.product_id = ?
Parameters:
[
  61
]
7 0.25 ms
SELECT count(f0_.id) AS sclr_0 FROM finance_trade_product_comment f0_ WHERE f0_.product_id = ?
Parameters:
[
  46
]
8 0.13 ms
SELECT count(f0_.id) AS sclr_0 FROM finance_trade_product_comment f0_ WHERE f0_.product_id = ?
Parameters:
[
  34
]
9 0.19 ms
SELECT count(f0_.id) AS sclr_0 FROM finance_trade_product_comment f0_ WHERE f0_.product_id = ?
Parameters:
[
  62
]
10 0.14 ms
SELECT count(f0_.id) AS sclr_0 FROM finance_trade_product_comment f0_ WHERE f0_.product_id = ?
Parameters:
[
  69
]
11 0.16 ms
SELECT count(f0_.id) AS sclr_0 FROM finance_trade_product_comment f0_ WHERE f0_.product_id = ?
Parameters:
[
  16
]
12 0.13 ms
SELECT count(f0_.id) AS sclr_0 FROM finance_trade_product_comment f0_ WHERE f0_.product_id = ?
Parameters:
[
  17
]
13 0.16 ms
SELECT count(f0_.id) AS sclr_0 FROM finance_trade_product_comment f0_ WHERE f0_.product_id = ?
Parameters:
[
  75
]
14 0.13 ms
SELECT count(f0_.id) AS sclr_0 FROM finance_trade_product_comment f0_ WHERE f0_.product_id = ?
Parameters:
[
  52
]

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\Product No errors.
App\Entity\ProductCategory No errors.
App\Entity\FinanceTradeProductComment No errors.