44.93 ms (61.74%)
49
SELECT t0 . id AS id_1 , t0 . solde_initial AS solde_initial_2 , t0 . solde_restant AS solde_restant_3 , t0 . seuil_alerte AS seuil_alerte_4 , t0 . caisse_id AS caisse_id_5 , t0 . devise_id AS devise_id_6 FROM compte_caisse t0 WHERE t0 . caisse_id = ? AND t0 . devise_id = ? LIMIT 1
SELECT t0 . id AS id_1 , t0 . solde_initial AS solde_initial_2 , t0 . solde_restant AS solde_restant_3 , t0 . seuil_alerte AS seuil_alerte_4 , t0 . caisse_id AS caisse_id_5 , t0 . devise_id AS devise_id_6 FROM compte_caisse t0 WHERE t0 . caisse_id = 1 AND t0 . devise_id = 1 LIMIT 1 ;
Copy
11.36 ms (15.60%)
7
SELECT t0 . id AS id_1 , t0 . date_debut AS date_debut_2 , t0 . is_active AS is_active_3 , t0 . is_appro_initial_valide AS is_appro_initial_valide_4 , t0 . date_fin AS date_fin_5 , t0 . caissier_id AS caissier_id_6 , t0 . caisse_id AS caisse_id_7 FROM affectation_caisse t0 WHERE t0 . caisse_id = ?
SELECT t0 . id AS id_1 , t0 . date_debut AS date_debut_2 , t0 . is_active AS is_active_3 , t0 . is_appro_initial_valide AS is_appro_initial_valide_4 , t0 . date_fin AS date_fin_5 , t0 . caissier_id AS caissier_id_6 , t0 . caisse_id AS caisse_id_7 FROM affectation_caisse t0 WHERE t0 . caisse_id = 1 ;
Copy
7.14 ms (9.81%)
7
SELECT t0 . id AS id_1 , t0 . email AS email_2 , t0 . nom AS nom_3 , t0 . prenoms AS prenoms_4 , t0 . telephone AS telephone_5 , t0 . roles AS roles_6 , t0 . password AS password_7 , t0 . is_active AS is_active_8 , t0 . is_email_auth_enabled AS is_email_auth_enabled_9 , t0 . is_sms_auth_enabled AS is_sms_auth_enabled_10 , t0 . auth_code AS auth_code_11 , t0 . created_at AS created_at_12 , t0 . updated_at AS updated_at_13 , t0 . avatar AS avatar_14 , t0 . push_token AS push_token_15 , t0 . push_subscription AS push_subscription_16 , t0 . must_change_password AS must_change_password_17 , t0 . agence_id AS agence_id_18 , t0 . service_transfert_id AS service_transfert_id_19 , t20 . id AS id_21 , t20 . nom AS nom_22 , t20 . prenoms AS prenoms_23 , t20 . contact AS contact_24 , t20 . email AS email_25 , t20 . registre_commerce AS registre_commerce_26 , t20 . profession AS profession_27 , t20 . created_at AS created_at_28 , t20 . ifu AS ifu_29 , t20 . code_client AS code_client_30 , t20 . created_by_id AS created_by_id_31 , t20 . agence_id AS agence_id_32 , t20 . user_id AS user_id_33 FROM user t0 LEFT JOIN client t20 ON t20 . user_id = t0 . id WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . email AS email_2 , t0 . nom AS nom_3 , t0 . prenoms AS prenoms_4 , t0 . telephone AS telephone_5 , t0 . roles AS roles_6 , t0 . password AS password_7 , t0 . is_active AS is_active_8 , t0 . is_email_auth_enabled AS is_email_auth_enabled_9 , t0 . is_sms_auth_enabled AS is_sms_auth_enabled_10 , t0 . auth_code AS auth_code_11 , t0 . created_at AS created_at_12 , t0 . updated_at AS updated_at_13 , t0 . avatar AS avatar_14 , t0 . push_token AS push_token_15 , t0 . push_subscription AS push_subscription_16 , t0 . must_change_password AS must_change_password_17 , t0 . agence_id AS agence_id_18 , t0 . service_transfert_id AS service_transfert_id_19 , t20 . id AS id_21 , t20 . nom AS nom_22 , t20 . prenoms AS prenoms_23 , t20 . contact AS contact_24 , t20 . email AS email_25 , t20 . registre_commerce AS registre_commerce_26 , t20 . profession AS profession_27 , t20 . created_at AS created_at_28 , t20 . ifu AS ifu_29 , t20 . code_client AS code_client_30 , t20 . created_by_id AS created_by_id_31 , t20 . agence_id AS agence_id_32 , t20 . user_id AS user_id_33 FROM user t0 LEFT JOIN client t20 ON t20 . user_id = t0 . id WHERE t0 . id = 20 ;
Copy
3.84 ms (5.28%)
1
SELECT a0_ . id AS id_0 , a0_ . date_debut AS date_debut_1 , a0_ . is_active AS is_active_2 , a0_ . is_appro_initial_valide AS is_appro_initial_valide_3 , a0_ . date_fin AS date_fin_4 , a0_ . caissier_id AS caissier_id_5 , a0_ . caisse_id AS caisse_id_6 FROM affectation_caisse a0_ WHERE a0_ . caissier_id = ? AND a0_ . is_active = ? AND a0_ . date_debut < = ? AND (a0_ . date_fin IS NULL OR a0_ . date_fin > = ? ) ORDER BY a0_ . date_debut DESC LIMIT 1
Parameters :
[
460
1
"2026-11-24 11:50:44 "
"2026-11-24 11:50:44 "
]
SELECT a0_ . id AS id_0 , a0_ . date_debut AS date_debut_1 , a0_ . is_active AS is_active_2 , a0_ . is_appro_initial_valide AS is_appro_initial_valide_3 , a0_ . date_fin AS date_fin_4 , a0_ . caissier_id AS caissier_id_5 , a0_ . caisse_id AS caisse_id_6 FROM affectation_caisse a0_ WHERE a0_ . caissier_id = 460 AND a0_ . is_active = 1 AND a0_ . date_debut < = '2026-11-24 11:50:44' AND (a0_ . date_fin IS NULL OR a0_ . date_fin > = '2026-11-24 11:50:44' ) ORDER BY a0_ . date_debut DESC LIMIT 1 ;
Copy
2.83 ms (3.89%)
1
SELECT c0_ . id AS id_0 , c0_ . is_active AS is_active_1 , c0_ . created_at AS created_at_2 , c0_ . nom AS nom_3 , a1_ . id AS id_4 , a1_ . nom AS nom_5 , a1_ . ville AS ville_6 , a1_ . adresse AS adresse_7 , a1_ . telephone AS telephone_8 , a1_ . telephone2 AS telephone2_9 , a1_ . created_at AS created_at_10 , a1_ . require_loan_validation AS require_loan_validation_11 , c2_ . id AS id_12 , c2_ . solde_initial AS solde_initial_13 , c2_ . solde_restant AS solde_restant_14 , c2_ . seuil_alerte AS seuil_alerte_15 , c0_ . agence_id AS agence_id_16 , a1_ . entreprise_id AS entreprise_id_17 , a1_ . pays_id AS pays_id_18 , a1_ . devise_source_id AS devise_source_id_19 , a1_ . responsable_id AS responsable_id_20 , c2_ . caisse_id AS caisse_id_21 , c2_ . devise_id AS devise_id_22 FROM caisse c0_ LEFT JOIN agence a1_ ON c0_ . agence_id = a1_ . id LEFT JOIN compte_caisse c2_ ON c0_ . id = c2_ . caisse_id
SELECT c0_ . id AS id_0 , c0_ . is_active AS is_active_1 , c0_ . created_at AS created_at_2 , c0_ . nom AS nom_3 , a1_ . id AS id_4 , a1_ . nom AS nom_5 , a1_ . ville AS ville_6 , a1_ . adresse AS adresse_7 , a1_ . telephone AS telephone_8 , a1_ . telephone2 AS telephone2_9 , a1_ . created_at AS created_at_10 , a1_ . require_loan_validation AS require_loan_validation_11 , c2_ . id AS id_12 , c2_ . solde_initial AS solde_initial_13 , c2_ . solde_restant AS solde_restant_14 , c2_ . seuil_alerte AS seuil_alerte_15 , c0_ . agence_id AS agence_id_16 , a1_ . entreprise_id AS entreprise_id_17 , a1_ . pays_id AS pays_id_18 , a1_ . devise_source_id AS devise_source_id_19 , a1_ . responsable_id AS responsable_id_20 , c2_ . caisse_id AS caisse_id_21 , c2_ . devise_id AS devise_id_22 FROM caisse c0_ LEFT JOIN agence a1_ ON c0_ . agence_id = a1_ . id LEFT JOIN compte_caisse c2_ ON c0_ . id = c2_ . caisse_id ;
Copy
1.26 ms (1.73%)
1
SELECT t0 . id AS id_1 , t0 . nom AS nom_2 , t0 . code_iso AS code_iso_3 , t0 . symbole AS symbole_4 , t0 . is_active AS is_active_5 , t0 . created_at AS created_at_6 FROM devise t0 WHERE t0 . is_active = ?
SELECT t0 . id AS id_1 , t0 . nom AS nom_2 , t0 . code_iso AS code_iso_3 , t0 . symbole AS symbole_4 , t0 . is_active AS is_active_5 , t0 . created_at AS created_at_6 FROM devise t0 WHERE t0 . is_active = 1 ;
Copy
0.70 ms (0.97%)
1
SELECT t0 . id AS id_1 , t0 . email AS email_2 , t0 . nom AS nom_3 , t0 . prenoms AS prenoms_4 , t0 . telephone AS telephone_5 , t0 . roles AS roles_6 , t0 . password AS password_7 , t0 . is_active AS is_active_8 , t0 . is_email_auth_enabled AS is_email_auth_enabled_9 , t0 . is_sms_auth_enabled AS is_sms_auth_enabled_10 , t0 . auth_code AS auth_code_11 , t0 . created_at AS created_at_12 , t0 . updated_at AS updated_at_13 , t0 . avatar AS avatar_14 , t0 . push_token AS push_token_15 , t0 . push_subscription AS push_subscription_16 , t0 . must_change_password AS must_change_password_17 , t0 . agence_id AS agence_id_18 , t0 . service_transfert_id AS service_transfert_id_19 , t20 . id AS id_21 , t20 . nom AS nom_22 , t20 . prenoms AS prenoms_23 , t20 . contact AS contact_24 , t20 . email AS email_25 , t20 . registre_commerce AS registre_commerce_26 , t20 . profession AS profession_27 , t20 . created_at AS created_at_28 , t20 . ifu AS ifu_29 , t20 . code_client AS code_client_30 , t20 . created_by_id AS created_by_id_31 , t20 . agence_id AS agence_id_32 , t20 . user_id AS user_id_33 FROM user t0 LEFT JOIN client t20 ON t20 . user_id = t0 . id WHERE t0 . email = ? LIMIT 1
Parameters :
[
"ihubert@retouralasourcefx.com "
]
SELECT t0 . id AS id_1 , t0 . email AS email_2 , t0 . nom AS nom_3 , t0 . prenoms AS prenoms_4 , t0 . telephone AS telephone_5 , t0 . roles AS roles_6 , t0 . password AS password_7 , t0 . is_active AS is_active_8 , t0 . is_email_auth_enabled AS is_email_auth_enabled_9 , t0 . is_sms_auth_enabled AS is_sms_auth_enabled_10 , t0 . auth_code AS auth_code_11 , t0 . created_at AS created_at_12 , t0 . updated_at AS updated_at_13 , t0 . avatar AS avatar_14 , t0 . push_token AS push_token_15 , t0 . push_subscription AS push_subscription_16 , t0 . must_change_password AS must_change_password_17 , t0 . agence_id AS agence_id_18 , t0 . service_transfert_id AS service_transfert_id_19 , t20 . id AS id_21 , t20 . nom AS nom_22 , t20 . prenoms AS prenoms_23 , t20 . contact AS contact_24 , t20 . email AS email_25 , t20 . registre_commerce AS registre_commerce_26 , t20 . profession AS profession_27 , t20 . created_at AS created_at_28 , t20 . ifu AS ifu_29 , t20 . code_client AS code_client_30 , t20 . created_by_id AS created_by_id_31 , t20 . agence_id AS agence_id_32 , t20 . user_id AS user_id_33 FROM user t0 LEFT JOIN client t20 ON t20 . user_id = t0 . id WHERE t0 . email = 'ihubert@retouralasourcefx.com' LIMIT 1 ;
Copy
0.70 ms (0.97%)
1
DELETE FROM user_sessions WHERE last_activity < ?
Parameters :
[
"2026-11-24 11:35:44 "
]
DELETE FROM user_sessions WHERE last_activity < '2026-11-24 11:35:44' ;
Copy