Query Metrics
4
Database Queries
2
Different statements
0.87 ms
Query time
0
Invalid entities
12
Managed entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
0.56 ms (64.84%) |
1 |
SELECT p0_.id AS id_0, p0_.variant_code AS variant_code_1, p0_.smaregi_product_id AS smaregi_product_id_2, p0_.name AS name_3, p0_.price AS price_4, p0_.stock AS stock_5, p0_.deleted_at AS deleted_at_6, p0_.created_at AS created_at_7, p0_.updated_at AS updated_at_8, p0_.product_id AS product_id_9 FROM product_variants p0_ INNER JOIN products p1_ ON p0_.product_id = p1_.id WHERE p0_.deleted_at IS NULL AND p0_.smaregi_product_id IS NOT NULL AND p1_.deleted_at IS NULL ORDER BY p1_.name ASC, p0_.variant_code ASC
Parameters:
[] |
|
0.31 ms (35.16%) |
3 |
SELECT t0.id AS id_1, t0.smaregi_product_id AS smaregi_product_id_2, t0.product_code AS product_code_3, t0.name AS name_4, t0.stock AS stock_5, t0.created_at AS created_at_6, t0.updated_at AS updated_at_7, t0.deleted_at AS deleted_at_8, t0.category_id AS category_id_9 FROM products t0 WHERE t0.id = ?
Parameters:
[
1
]
|
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\ProductVariant | 6 |
| App\Entity\Product | 3 |
| App\Entity\Category | 3 |
Entities Mapping
| Class | Mapping errors |
|---|---|
| App\Entity\ProductVariant | No errors. |
| App\Entity\Product | No errors. |
| App\Entity\Category | No errors. |