1.62 ms (33.80%)
|
1 |
SELECT t0.id AS id_1, t0.username AS username_2, t0.roles AS roles_3, t0.password AS password_4, t0.nom_prenom AS nom_prenom_5, t0.created_at AS created_at_6, t0.is_enabled AS is_enabled_7, t0.zone AS zone_8, t0.last_activity_at AS last_activity_at_9, t0.total_commandes_value AS total_commandes_value_10, t0.total_stock_value AS total_stock_value_11, t0.paiement_left AS paiement_left_12, t0.has_device AS has_device_13, t0.is_admin AS is_admin_14, t0.phone_number AS phone_number_15, t0.last_livraison_at AS last_livraison_at_16, t0.code_collaborateur AS code_collaborateur_17, t0.last_update_at AS last_update_at_18, t0.adresse AS adresse_19, t0.total_commission AS total_commission_20, t0.total_survente AS total_survente_21, t0.initial_command_value AS initial_command_value_22, t0.category_name AS category_name_23, t0.utilisateur_role_id AS utilisateur_role_id_24 FROM utilisateur t0 WHERE t0.username = ? LIMIT 1
Parameters: [
"CL01125"
]
SELECT t0.id AS id_1, t0.username AS username_2, t0.roles AS roles_3, t0.password AS password_4, t0.nom_prenom AS nom_prenom_5, t0.created_at AS created_at_6, t0.is_enabled AS is_enabled_7, t0.zone AS zone_8, t0.last_activity_at AS last_activity_at_9, t0.total_commandes_value AS total_commandes_value_10, t0.total_stock_value AS total_stock_value_11, t0.paiement_left AS paiement_left_12, t0.has_device AS has_device_13, t0.is_admin AS is_admin_14, t0.phone_number AS phone_number_15, t0.last_livraison_at AS last_livraison_at_16, t0.code_collaborateur AS code_collaborateur_17, t0.last_update_at AS last_update_at_18, t0.adresse AS adresse_19, t0.total_commission AS total_commission_20, t0.total_survente AS total_survente_21, t0.initial_command_value AS initial_command_value_22, t0.category_name AS category_name_23, t0.utilisateur_role_id AS utilisateur_role_id_24 FROM utilisateur t0 WHERE t0.username = 'CL01125' LIMIT 1;
|
1.30 ms (27.20%)
|
1 |
SELECT p0_.id AS id_0, p0_.code AS code_1, p0_.phone_number AS phone_number_2, p0_.created_at AS created_at_3, p0_.designation AS designation_4, p0_.description AS description_5, p0_.latitude AS latitude_6, p0_.longitude AS longitude_7, p0_.last_command_at AS last_command_at_8, p0_.update_at AS update_at_9, p0_.total_commandes_value AS total_commandes_value_10, ST_AsBinary(p0_.localisation) AS localisation_11, u1_.id AS id_12, u1_.username AS username_13, u1_.roles AS roles_14, u1_.password AS password_15, u1_.nom_prenom AS nom_prenom_16, u1_.created_at AS created_at_17, u1_.is_enabled AS is_enabled_18, u1_.zone AS zone_19, u1_.last_activity_at AS last_activity_at_20, u1_.total_commandes_value AS total_commandes_value_21, u1_.total_stock_value AS total_stock_value_22, u1_.paiement_left AS paiement_left_23, u1_.has_device AS has_device_24, u1_.is_admin AS is_admin_25, u1_.phone_number AS phone_number_26, u1_.last_livraison_at AS last_livraison_at_27, u1_.code_collaborateur AS code_collaborateur_28, u1_.last_update_at AS last_update_at_29, u1_.adresse AS adresse_30, u1_.total_commission AS total_commission_31, u1_.total_survente AS total_survente_32, u1_.initial_command_value AS initial_command_value_33, u1_.category_name AS category_name_34, p0_.created_by_id AS created_by_id_35, u1_.utilisateur_role_id AS utilisateur_role_id_36 FROM point_of_sale p0_ LEFT JOIN point_of_sale_utilisateur p2_ ON p0_.id = p2_.point_of_sale_id LEFT JOIN utilisateur u1_ ON u1_.id = p2_.utilisateur_id WHERE p0_.update_at >= ? AND p0_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ORDER BY p0_.id ASC
Parameters: [
"2025-09-10 00:00:00"
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
]
SELECT
p0_.id AS id_0,
p0_.code AS code_1,
p0_.phone_number AS phone_number_2,
p0_.created_at AS created_at_3,
p0_.designation AS designation_4,
p0_.description AS description_5,
p0_.latitude AS latitude_6,
p0_.longitude AS longitude_7,
p0_.last_command_at AS last_command_at_8,
p0_.update_at AS update_at_9,
p0_.total_commandes_value AS total_commandes_value_10,
ST_AsBinary(p0_.localisation) AS localisation_11,
u1_.id AS id_12,
u1_.username AS username_13,
u1_.roles AS roles_14,
u1_.password AS password_15,
u1_.nom_prenom AS nom_prenom_16,
u1_.created_at AS created_at_17,
u1_.is_enabled AS is_enabled_18,
u1_.zone AS zone_19,
u1_.last_activity_at AS last_activity_at_20,
u1_.total_commandes_value AS total_commandes_value_21,
u1_.total_stock_value AS total_stock_value_22,
u1_.paiement_left AS paiement_left_23,
u1_.has_device AS has_device_24,
u1_.is_admin AS is_admin_25,
u1_.phone_number AS phone_number_26,
u1_.last_livraison_at AS last_livraison_at_27,
u1_.code_collaborateur AS code_collaborateur_28,
u1_.last_update_at AS last_update_at_29,
u1_.adresse AS adresse_30,
u1_.total_commission AS total_commission_31,
u1_.total_survente AS total_survente_32,
u1_.initial_command_value AS initial_command_value_33,
u1_.category_name AS category_name_34,
p0_.created_by_id AS created_by_id_35,
u1_.utilisateur_role_id AS utilisateur_role_id_36
FROM
point_of_sale p0_
LEFT JOIN point_of_sale_utilisateur p2_ ON p0_.id = p2_.point_of_sale_id
LEFT JOIN utilisateur u1_ ON u1_.id = p2_.utilisateur_id
WHERE
p0_.update_at >= ?
AND p0_.id IN (
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?
)
ORDER BY
p0_.id ASC
SELECT p0_.id AS id_0, p0_.code AS code_1, p0_.phone_number AS phone_number_2, p0_.created_at AS created_at_3, p0_.designation AS designation_4, p0_.description AS description_5, p0_.latitude AS latitude_6, p0_.longitude AS longitude_7, p0_.last_command_at AS last_command_at_8, p0_.update_at AS update_at_9, p0_.total_commandes_value AS total_commandes_value_10, ST_AsBinary(p0_.localisation) AS localisation_11, u1_.id AS id_12, u1_.username AS username_13, u1_.roles AS roles_14, u1_.password AS password_15, u1_.nom_prenom AS nom_prenom_16, u1_.created_at AS created_at_17, u1_.is_enabled AS is_enabled_18, u1_.zone AS zone_19, u1_.last_activity_at AS last_activity_at_20, u1_.total_commandes_value AS total_commandes_value_21, u1_.total_stock_value AS total_stock_value_22, u1_.paiement_left AS paiement_left_23, u1_.has_device AS has_device_24, u1_.is_admin AS is_admin_25, u1_.phone_number AS phone_number_26, u1_.last_livraison_at AS last_livraison_at_27, u1_.code_collaborateur AS code_collaborateur_28, u1_.last_update_at AS last_update_at_29, u1_.adresse AS adresse_30, u1_.total_commission AS total_commission_31, u1_.total_survente AS total_survente_32, u1_.initial_command_value AS initial_command_value_33, u1_.category_name AS category_name_34, p0_.created_by_id AS created_by_id_35, u1_.utilisateur_role_id AS utilisateur_role_id_36 FROM point_of_sale p0_ LEFT JOIN point_of_sale_utilisateur p2_ ON p0_.id = p2_.point_of_sale_id LEFT JOIN utilisateur u1_ ON u1_.id = p2_.utilisateur_id WHERE p0_.update_at >= '2025-09-10 00:00:00' AND p0_.id IN (3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32) ORDER BY p0_.id ASC;
|