Query Metrics
5
Database Queries
5
Different statements
3.29 ms
Query time
0
Invalid entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
0.91 ms (27.81%) |
1 |
SELECT DISTINCT h0_.id AS id_0, h0_.name AS name_1 FROM hourly_package h0_ LEFT JOIN customer c1_ ON h0_.customer_id = c1_.id INNER JOIN customer c2_ ON h0_.customer_id = c2_.id WHERE ((LOWER(h0_.name) LIKE ? OR LOWER(h0_.invoice) LIKE ? OR LOWER(c1_.business_name) LIKE ?) AND h0_.open = 1 AND c2_.id = ? AND h0_.name LIKE ?) AND (h0_.deleted_at IS NULL) ORDER BY h0_.name ASC LIMIT 30
Parameters:
[ "%u%" "%u%" "%u%" "67" "%u%" ] |
|
0.78 ms (23.74%) |
1 |
SELECT h0_.name AS name_0, h0_.type AS type_1, h0_.hours AS hours_2, h0_.invoice AS invoice_3, h0_.notes AS notes_4, h0_.open AS open_5, h0_.hourly_sell_cost AS hourly_sell_cost_6, h0_.reem_hours AS reem_hours_7, h0_.id AS id_8, h0_.deleted_at AS deleted_at_9, h0_.created AS created_10, h0_.updated AS updated_11, h0_.customer_id AS customer_id_12 FROM hourly_package h0_ LEFT JOIN customer c1_ ON h0_.customer_id = c1_.id INNER JOIN customer c2_ ON h0_.customer_id = c2_.id WHERE ((LOWER(h0_.name) LIKE ? OR LOWER(h0_.invoice) LIKE ? OR LOWER(c1_.business_name) LIKE ?) AND h0_.open = 1 AND c2_.id = ? AND h0_.name LIKE ? AND h0_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)) AND (h0_.deleted_at IS NULL) ORDER BY h0_.name ASC
Parameters:
[ "%u%" "%u%" "%u%" "67" "%u%" 398 447 414 435 424 466 476 453 443 400 387 377 448 413 436 423 467 477 454 444 401 388 380 ] |
|
0.71 ms (21.61%) |
1 |
SELECT count(DISTINCT h0_.id) AS sclr_0 FROM hourly_package h0_ LEFT JOIN customer c1_ ON h0_.customer_id = c1_.id INNER JOIN customer c2_ ON h0_.customer_id = c2_.id WHERE ((LOWER(h0_.name) LIKE ? OR LOWER(h0_.invoice) LIKE ? OR LOWER(c1_.business_name) LIKE ?) AND h0_.open = 1 AND c2_.id = ? AND h0_.name LIKE ?) AND (h0_.deleted_at IS NULL)
Parameters:
[ "%u%" "%u%" "%u%" "67" "%u%" ] |
|
0.53 ms (16.13%) |
1 |
SELECT t0.email AS email_1, t0.roles AS roles_2, t0.password AS password_3, t0.firstname AS firstname_4, t0.lastname AS lastname_5, t0.active AS active_6, t0.deactivated_at AS deactivated_at_7, t0.hourly_resource_cost AS hourly_resource_cost_8, t0.id AS id_9, t0.uuid AS uuid_10, t0.created AS created_11, t0.updated AS updated_12, t0.hourly_package_id AS hourly_package_id_13 FROM `user` t0 WHERE t0.id = ?
Parameters:
[
6
]
|
|
0.35 ms (10.71%) |
1 |
SELECT t0.id_magento AS id_magento_1, t0.business_name AS business_name_2, t0.vat AS vat_3, t0.commercial_reference AS commercial_reference_4, t0.commercial_emails AS commercial_emails_5, t0.active AS active_6, t0.deactivated_at AS deactivated_at_7, t0.id AS id_8, t0.created AS created_9, t0.updated AS updated_10 FROM customer t0 WHERE t0.id = ?
Parameters:
[
67
]
|
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\HourlyPackage | No errors. |
| App\Entity\Log | No errors. |
| App\Entity\Customer | No errors. |
| App\Entity\PackageFile | No errors. |
| App\Entity\TrelloBoard | No errors. |