Query Metrics
18
Database Queries
16
Different statements
22.49 ms
Query time
3
Invalid entities
10
Managed entities
Queries
| #▲ | Time | Info |
|---|---|---|
| 1 | 0.86 ms |
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.first_name AS first_name_5, t0.last_name AS last_name_6, t0.is_active AS is_active_7, t0.created_at AS created_at_8, t0.point_de_vente_id AS point_de_vente_id_9 FROM users t0 WHERE t0.id = ?
Parameters:
[
13
]
|
| 2 | 0.89 ms |
SELECT t0.id AS id_1, t0.date_rapport AS date_rapport_2, t0.created_at AS created_at_3, t0.solde_precedent AS solde_precedent_4, t0.total_credit AS total_credit_5, t0.total_debit AS total_debit_6, t0.solde AS solde_7, t0.statut AS statut_8, t0.is_deleted AS is_deleted_9, t0.caisse_id AS caisse_id_10, t0.created_by_id AS created_by_id_11, t0.devise_id AS devise_id_12 FROM rapport_caisse t0 WHERE t0.id = ?
Parameters:
[
"118"
]
|
| 3 | 3.56 ms |
SELECT d0_.sigle AS sigle_0, m1_.type_operation AS type_operation_1, SUM(m1_.montant_operation) AS sclr_2 FROM mouvement m1_ INNER JOIN devise d0_ ON m1_.devise_id = d0_.id WHERE m1_.caisse_id = ? AND m1_.type_operation = ? AND (m1_.date_operation BETWEEN ? AND ?) GROUP BY d0_.sigle, m1_.type_operation
Parameters:
[ 1 "DEBIT" "2026-04-17 00:00:00" "2026-04-17 23:59:59" ] |
| 4 | 3.64 ms |
SELECT d0_.sigle AS sigle_0, m1_.type_operation AS type_operation_1, SUM(m1_.montant_operation) AS sclr_2 FROM mouvement m1_ INNER JOIN devise d0_ ON m1_.devise_id = d0_.id WHERE m1_.caisse_id = ? AND m1_.type_operation = ? AND (m1_.date_operation BETWEEN ? AND ?) GROUP BY d0_.sigle, m1_.type_operation
Parameters:
[ 1 "CREDIT" "2026-04-17 00:00:00" "2026-04-17 23:59:59" ] |
| 5 | 1.73 ms |
SELECT d.sigle AS devise, SUM(ab1.solde) AS totalSolde, MAX(ab1.period) as dateDuSolde FROM account_balance ab1 JOIN devise d ON d.id = ab1.devise_id INNER JOIN ( SELECT caisse_id, devise_id, MAX(period) AS max_date FROM account_balance WHERE period <= DATE_SUB(:date, INTERVAL 1 DAY) AND caisse_id =:caisse GROUP BY caisse_id, devise_id ) ab2 ON ab1.caisse_id = ab2.caisse_id AND ab1.devise_id = ab2.devise_id AND ab1.period = ab2.max_date GROUP BY ab1.devise_id, d.sigle
Parameters:
[ "date" => "2026-04-17" "caisse" => 1 ] |
| 6 | 1.65 ms |
SELECT d.sigle AS devise, SUM(ab1.solde) AS totalSolde, MAX(ab1.period) as dateDuSolde FROM account_balance ab1 JOIN devise d ON d.id = ab1.devise_id INNER JOIN ( SELECT caisse_id, devise_id, MAX(period) AS max_date FROM account_balance WHERE period <= :fin AND caisse_id =:caisse GROUP BY caisse_id, devise_id ) ab2 ON ab1.caisse_id = ab2.caisse_id AND ab1.devise_id = ab2.devise_id AND ab1.period = ab2.max_date GROUP BY ab1.devise_id, d.sigle
Parameters:
[ "fin" => "2026-04-17" "caisse" => 1 ] |
| 7 | 0.75 ms |
SELECT t0.id AS id_1, t0.intitule AS intitule_2, t0.sigle AS sigle_3, t0.symbole AS symbole_4, t0.deleted AS deleted_5, t0.is_default AS is_default_6, t0.is_local AS is_local_7 FROM devise t0 WHERE t0.is_default = ? LIMIT 1
Parameters:
[
1
]
|
| 8 | 0.53 ms |
SELECT t0.id AS id_1, t0.intitule AS intitule_2, t0.sigle AS sigle_3, t0.symbole AS symbole_4, t0.deleted AS deleted_5, t0.is_default AS is_default_6, t0.is_local AS is_local_7 FROM devise t0
Parameters:
[] |
| 9 | 0.60 ms |
SELECT t0.id AS id_1, t0.date_create AS date_create_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.is_deleted AS is_deleted_5, t0.date_modification AS date_modification_6, t0.nom_partenaire AS nom_partenaire_7, t0.nom_ouvrier AS nom_ouvrier_8, t0.type_operation AS type_operation_9, t0.montant_operation AS montant_operation_10, t0.numero_piece AS numero_piece_11, t0.piece_comptable AS piece_comptable_12, t0.caisse_id AS caisse_id_13, t0.user_create_id AS user_create_id_14, t0.devise_id AS devise_id_15, t0.rapport_id AS rapport_id_16, t0.compte_id AS compte_id_17 FROM mouvement t0 WHERE t0.rapport_id = ?
Parameters:
[
"118"
]
|
| 10 | 0.83 ms |
SELECT a0_.id AS id_0, a0_.account_number AS account_number_1, a0_.account_name AS account_name_2, a0_.description AS description_3, a0_.account_class AS account_class_4, a0_.account_type AS account_type_5, a0_.is_active AS is_active_6, a0_.created_at AS created_at_7, a0_.is_deleted AS is_deleted_8, a0_.is_visible_for_caisse AS is_visible_for_caisse_9, a0_.parent_account_id AS parent_account_id_10 FROM accounts a0_ WHERE a0_.id IN (?)
Parameters:
[
"189"
]
|
| 11 | 0.95 ms |
SELECT d0_.id AS id_0, d0_.intitule AS intitule_1, d0_.sigle AS sigle_2, d0_.symbole AS symbole_3, d0_.deleted AS deleted_4, d0_.is_default AS is_default_5, d0_.is_local AS is_local_6 FROM devise d0_ WHERE d0_.id IN (?)
Parameters:
[
"1"
]
|
| 12 | 1.67 ms |
SELECT a0_.id AS id_0, a0_.solde AS solde_1, a0_.period AS period_2, a0_.caisse_id AS caisse_id_3, a0_.devise_id AS devise_id_4 FROM account_balance a0_ WHERE a0_.caisse_id = ? AND a0_.devise_id = ? AND a0_.period <= ? ORDER BY a0_.period DESC LIMIT 1
Parameters:
[ 1 1 "2026-04-17 00:00:00" ] |
| 13 | 1.14 ms |
SELECT a0_.id AS id_0, a0_.solde AS solde_1, a0_.period AS period_2, a0_.caisse_id AS caisse_id_3, a0_.devise_id AS devise_id_4 FROM account_balance a0_ WHERE a0_.caisse_id = ? AND a0_.devise_id = ? AND a0_.period >= ? ORDER BY a0_.period ASC
Parameters:
[ 1 1 "2026-04-17 00:00:00" ] |
| 14 | 0.82 ms |
SELECT t0.id AS id_1, t0.date_create AS date_create_2, t0.date_operation AS date_operation_3, t0.motif AS motif_4, t0.is_deleted AS is_deleted_5, t0.date_modification AS date_modification_6, t0.nom_partenaire AS nom_partenaire_7, t0.nom_ouvrier AS nom_ouvrier_8, t0.type_operation AS type_operation_9, t0.montant_operation AS montant_operation_10, t0.numero_piece AS numero_piece_11, t0.piece_comptable AS piece_comptable_12, t0.caisse_id AS caisse_id_13, t0.user_create_id AS user_create_id_14, t0.devise_id AS devise_id_15, t0.rapport_id AS rapport_id_16, t0.compte_id AS compte_id_17 FROM mouvement t0 WHERE t0.rapport_id = ?
Parameters:
[
118
]
|
| 15 | 0.32 ms |
"START TRANSACTION"
Parameters:
[] |
| 16 | 0.70 ms |
INSERT INTO mouvement (date_create, date_operation, motif, is_deleted, date_modification, nom_partenaire, nom_ouvrier, type_operation, montant_operation, numero_piece, piece_comptable, caisse_id, user_create_id, devise_id, rapport_id, compte_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[ "2026-04-17 12:49:51" "2026-04-17" "ACHAT FORMULAIRE CPCC, TABLEAU DE REEVALUATION, HOLOGRAMME ET ATTESTATION DE CERTIFICATION" 0 null null null "DEBIT" "210" "BSC 007/4" "WhatsApp-Image-2026-04-17-at-13-39-34-69e22c6fb4a24.jpg" 1 13 1 118 189 ] |
| 17 | 0.51 ms |
UPDATE account_balance SET solde = ? WHERE id = ?
Parameters:
[ "3063" 223 ] |
| 18 | 1.35 ms |
"COMMIT"
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.
Managed Entities
default entity manager
| Class | Amount of managed objects |
|---|---|
| App\Entity\Devise | 2 |
| App\Entity\Mouvement | 2 |
| App\Entity\Account | 2 |
| App\Entity\User | 1 |
| App\Entity\RapportCaisse | 1 |
| App\Entity\Caisse | 1 |
| App\Entity\AccountBalance | 1 |
Entities Mapping
| Class | Mapping errors |
|---|---|
| App\Entity\User | No errors. |
| App\Entity\PointDeVente | No errors. |
| App\Entity\AccountingEntry | No errors. |
| App\Entity\AuditLog | No errors. |
| App\Entity\Vente | No errors. |
| App\Entity\Encaissement | No errors. |
| App\Entity\RapportCaisse | No errors. |
| App\Entity\Caisse |
|
| App\Entity\Devise |
|
| App\Entity\Mouvement |
|
| App\Entity\AccountBalance | No errors. |
| App\Entity\ConversionDevise | No errors. |
| App\Entity\Account | No errors. |
| App\Entity\AccountingEntryLine | No errors. |