Query Metrics
19
Database Queries
8
Different statements
4.13 ms
Query time
0
Invalid entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
1.21 ms (29.40%) |
7 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.deadline AS deadline_3, t0.closed AS closed_4, t0.created AS created_5, t0.description AS description_6, t0.price_netto AS price_netto_7, t0.is_closed AS is_closed_8, t0.customer_id AS customer_id_9 FROM projects t0 WHERE t0.id = ?
Parameters:
[
57
]
|
|
0.96 ms (23.33%) |
6 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.address AS address_3, t0.note AS note_4, t0.created AS created_5, t0.phone AS phone_6, t0.email AS email_7 FROM customers t0 WHERE t0.id = ?
Parameters:
[
54
]
|
|
0.56 ms (13.61%) |
1 |
SELECT t0.id AS id_1, t0.username AS username_2, t0.display_name AS display_name_3, t0.email AS email_4, t0.roles AS roles_5, t0.disabled AS disabled_6, t0.password AS password_7, t0.modified AS modified_8, t0.worker_id AS worker_id_9 FROM user t0 WHERE t0.id = ?
Parameters:
[
5
]
|
|
0.45 ms (11.01%) |
1 |
SELECT w0_.id AS id_0, w0_.payed AS payed_1, w0_.created AS created_2, w0_.payed_hour_price AS payed_hour_price_3, w0_.hours AS hours_4, w0_.day AS day_5, w0_.note AS note_6, w0_.other_price AS other_price_7, w0_.validated_date AS validated_date_8, w0_.is_validated AS is_validated_9, w0_.worker_id AS worker_id_10, w0_.project_id AS project_id_11, w0_.project_product_id AS project_product_id_12, w0_.validated_id AS validated_id_13 FROM work_hours w0_ WHERE w0_.worker_id = ? AND w0_.payed IS NOT NULL
Parameters:
[
"11"
]
|
|
0.27 ms (6.47%) |
1 |
SELECT t0.id AS id_1, t0.username AS username_2, t0.full_name AS full_name_3, t0.price_hour AS price_hour_4, t0.price_month AS price_month_5, t0.created AS created_6, t0.active AS active_7, t0.contribution AS contribution_8, t9.id AS id_10, t9.username AS username_11, t9.display_name AS display_name_12, t9.email AS email_13, t9.roles AS roles_14, t9.disabled AS disabled_15, t9.password AS password_16, t9.modified AS modified_17, t9.worker_id AS worker_id_18 FROM workers t0 LEFT JOIN user t9 ON t9.worker_id = t0.id WHERE t0.id = ? LIMIT 1
Parameters:
[
"11"
]
|
|
0.24 ms (5.86%) |
1 |
SELECT t0.id AS id_1, t0.username AS username_2, t0.full_name AS full_name_3, t0.price_hour AS price_hour_4, t0.price_month AS price_month_5, t0.created AS created_6, t0.active AS active_7, t0.contribution AS contribution_8, t9.id AS id_10, t9.username AS username_11, t9.display_name AS display_name_12, t9.email AS email_13, t9.roles AS roles_14, t9.disabled AS disabled_15, t9.password AS password_16, t9.modified AS modified_17, t9.worker_id AS worker_id_18 FROM workers t0 LEFT JOIN user t9 ON t9.worker_id = t0.id WHERE t0.id = ?
Parameters:
[
"11"
]
|
|
0.23 ms (5.47%) |
1 |
SELECT t0.id AS id_1, t0.username AS username_2, t0.full_name AS full_name_3, t0.price_hour AS price_hour_4, t0.price_month AS price_month_5, t0.created AS created_6, t0.active AS active_7, t0.contribution AS contribution_8, t9.id AS id_10, t9.username AS username_11, t9.display_name AS display_name_12, t9.email AS email_13, t9.roles AS roles_14, t9.disabled AS disabled_15, t9.password AS password_16, t9.modified AS modified_17, t9.worker_id AS worker_id_18 FROM workers t0 LEFT JOIN user t9 ON t9.worker_id = t0.id WHERE t0.active = ?
Parameters:
[
1
]
|
|
0.20 ms (4.84%) |
1 |
SELECT w0_.id AS id_0, w0_.payed AS payed_1, w0_.created AS created_2, w0_.payed_hour_price AS payed_hour_price_3, w0_.hours AS hours_4, w0_.day AS day_5, w0_.note AS note_6, w0_.other_price AS other_price_7, w0_.validated_date AS validated_date_8, w0_.is_validated AS is_validated_9, w0_.worker_id AS worker_id_10, w0_.project_id AS project_id_11, w0_.project_product_id AS project_product_id_12, w0_.validated_id AS validated_id_13 FROM work_hours w0_ WHERE w0_.worker_id = ? AND w0_.payed IS NOT NULL AND w0_.day >= ? AND w0_.day < ?
Parameters:
[ "11" "2022-08-01 00:00:00" "2022-09-01 00:00:00" ] |
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\User | No errors. |
| App\Entity\Workers | No errors. |
| App\Entity\Attachment | No errors. |
| App\Entity\WorkHours | No errors. |
| App\Entity\Projects | No errors. |
| App\Entity\ProjectProducts | No errors. |
| App\Entity\Customers | No errors. |
| App\Entity\Photo | No errors. |
| App\Entity\Material | No errors. |
| App\Entity\Contracts | No errors. |