Query Metrics
5
Database Queries
3
Different statements
7.00 ms
Query time
0
Invalid entities
Grouped Statements
Time▼ | Count | Info |
---|---|---|
3.86 ms (55.13%) |
2 |
SELECT SUM(CASE WHEN f0_.montant_total > 0 THEN (f0_.montant_paye * (f0_.montant_total + COALESCE(f0_.frais_transport, 0)) / f0_.montant_total) ELSE f0_.montant_paye END) AS sclr_0 FROM vente v1_ LEFT JOIN facture f0_ ON v1_.id = f0_.vente_id WHERE f0_.statut_paiement = ? AND f0_.created_at >= ?
Parameters:
[ "Payé" "2025-09-11 00:00:00" ] |
2.83 ms (40.43%) |
2 |
SELECT SUM(CASE WHEN f0_.montant_total > 0 THEN (e1_.amount * (f0_.montant_total + COALESCE(f0_.frais_transport, 0)) / f0_.montant_total) ELSE e1_.amount END) AS sclr_0 FROM vente v2_ LEFT JOIN facture f0_ ON v2_.id = f0_.vente_id LEFT JOIN echeance e1_ ON f0_.id = e1_.facture_id WHERE e1_.is_paid = ? AND e1_.date >= ?
Parameters:
[ 1 "2025-09-11 00:00:00" ] |
0.31 ms (4.44%) |
1 |
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.full_name AS full_name_5, t0.created_at AS created_at_6, t0.telephone AS telephone_7, t0.adress AS adress_8, t9.id AS id_10, t9.user_id AS user_id_11, t0.boutique_id AS boutique_id_12 FROM user t0 LEFT JOIN livreur t9 ON t9.user_id = t0.id WHERE t0.id = ?
Parameters:
[
9
]
|
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\Livreur | No errors. |
App\Entity\Boutique | No errors. |
App\Entity\EntreeStock | No errors. |
App\Entity\SortieStock | No errors. |
App\Entity\Produit | No errors. |
App\Entity\ActionLog | No errors. |
App\Entity\Vente | No errors. |
App\Entity\Facture | No errors. |
App\Entity\Echeance | No errors. |