Query Metrics
4
Database Queries
4
Different statements
312.73 ms
Query time
0
Invalid entities
Grouped Statements
Time▼ | Count | Info |
---|---|---|
305.82 ms (97.79%) |
1 |
SELECT SUM(b.percel_count) as parcel_count, SUM(a.station_expenses) as station_expenses,SUM(a.tax_amount) as tax_amount, SUM(a.amount) as amount, SUM(a.expenses) as expenses, SUM(a.balance) as balance FROM transaction a JOIN way_bill b on a.way_bill_id = b.id JOIN daily_account c ON c.id = a.daily_account_id JOIN station d ON d.id = b.to_station_id WHERE b.from_station_id = 21 AND a.created_by = 81
Parameters:
[] |
3.94 ms (1.26%) |
1 |
SELECT b.id,c.account_date,a.expenses,a.created_at,d.station_name,b.sender_name,b.sender_phone_number,b.receiver_name,b.receiver_phone_number,a.amount, a.is_cancelled FROM transaction a JOIN way_bill b on a.way_bill_id = b.id JOIN daily_account c ON c.id = a.daily_account_id JOIN station d ON d.id = b.to_station_id WHERE b.from_station_id = 21 ORDER BY b.id DESC LIMIT 0,20
Parameters:
[] |
1.69 ms (0.54%) |
1 |
EXPLAIN SELECT count(a.id) as total FROM transaction a JOIN way_bill b on a.way_bill_id = b.id JOIN daily_account c ON c.id = a.daily_account_id JOIN station d ON d.id = b.to_station_id WHERE b.from_station_id = 21
Parameters:
[] |
1.28 ms (0.41%) |
1 |
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.person_id AS person_id_7 FROM user t0 WHERE t0.id = ?
Parameters:
[
81
]
|
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\Transaction | No errors. |