Query Metrics
4
Database Queries
4
Different statements
71.01 ms
Query time
0
Invalid entities
Queries
| #▲ | Time | Info |
|---|---|---|
| 1 | 1.19 ms |
SELECT t0.id AS id_1, t0.username AS username_2, t0.password AS password_3, t0.created_at AS created_at_4, t0.roles AS roles_5, t0.email AS email_6, t0.is_active AS is_active_7, t0.person_id AS person_id_8 FROM user t0 WHERE t0.id = ?
Parameters:
[
89
]
|
| 2 | 1.27 ms |
SELECT t0.id AS id_1, t0.account_date AS account_date_2, t0.is_closed AS is_closed_3, t0.closing_date AS closing_date_4, t0.is_banked AS is_banked_5, t0.created_at AS created_at_6, t0.closed_by AS closed_by_7, t0.created_by AS created_by_8, t0.station_id AS station_id_9 FROM station_daily_account t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
"20299"
]
|
| 3 | 2.33 ms |
select a.id,a.account_date, a.station_id, d.station_name, sum(c.amount) as amount, count(*) as transactions, (SELECT sum(inner_a.amount) FROM station_expense inner_a JOIN daily_account inner_b ON inner_b.id = inner_a.daily_account_id JOIN station_daily_account inner_c ON inner_c.id = inner_b.station_daily_account WHERE inner_c.id =a.id ) as expenses FROM station_daily_account a JOIN daily_account b ON b.station_daily_account = a.id JOIN transaction c ON c.daily_account_id = b.id JOIN station d ON a.station_id = d.id WHERE a.id =:station_daily_account and c.is_cancelled = false
Parameters:
[ "station_daily_account" => 20299 ] |
| 4 | 66.23 ms |
SELECT * FROM station_expense a JOIN expense_type b ON a.expense_type_id = b.id WHERE daily_account_id in (select bb.id FROM station_daily_account aa JOIN daily_account bb ON bb.station_daily_account = a.id WHERE aa.id = :station_daily_account)
Parameters:
[ "station_daily_account" => 20299 ] |
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\Person | No errors. |
| App\Entity\StationDailyAccount | No errors. |
| App\Entity\Station | No errors. |
| App\Entity\DailyAccount | No errors. |