Query Metrics
4
Database Queries
4
Different statements
5319.83 ms
Query time
0
Invalid entities
Queries
| #▲ | Time | Info |
|---|---|---|
| 1 | 0.67 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:
[
120
]
|
| 2 | 5303.44 ms |
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,f.transaction_id,a.payment_method 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 LEFT JOIN mpesa_transaction e ON a.id = e.transaction_id LEFT JOIN mpesa f ON f.id = e.mpesa_id WHERE b.from_station_id = 2 AND b.receiver_name like'% caroline nj%' ORDER BY b.id DESC LIMIT 0,20
Parameters:
[] |
| 3 | 1.31 ms |
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 LEFT JOIN mpesa_transaction e ON a.id = e.transaction_id LEFT JOIN mpesa f ON f.id = e.mpesa_id WHERE b.from_station_id = 2 AND b.receiver_name like'% caroline nj%'
Parameters:
[] |
| 4 | 14.41 ms |
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 = 2 AND a.created_by = 120 AND b.receiver_name like'% caroline nj%'
Parameters:
[] |
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. |