1
0.36 ms
SELECT t0 . id AS id_1 , t0 . email AS email_2 , t0 . roles AS roles_3 , t0 . password AS password_4 , t0 . confirmation_token AS confirmation_token_5 , t0 . confirmation_token_expires_at AS confirmation_token_expires_at_6 , t7 . id AS id_8 , t7 . name AS name_9 , t7 . address AS address_10 , t7 . public_key AS public_key_11 , t7 . locale AS locale_12 , t7 . city AS city_13 , t7 . country AS country_14 , t7 . has_catalog_access AS has_catalog_access_15 , t7 . user_id AS user_id_16 FROM user t0 LEFT JOIN pharmacy t7 ON t7 . user_id = t0 . id WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . email AS email_2 , t0 . roles AS roles_3 , t0 . password AS password_4 , t0 . confirmation_token AS confirmation_token_5 , t0 . confirmation_token_expires_at AS confirmation_token_expires_at_6 , t7 . id AS id_8 , t7 . name AS name_9 , t7 . address AS address_10 , t7 . public_key AS public_key_11 , t7 . locale AS locale_12 , t7 . city AS city_13 , t7 . country AS country_14 , t7 . has_catalog_access AS has_catalog_access_15 , t7 . user_id AS user_id_16 FROM user t0 LEFT JOIN pharmacy t7 ON t7 . user_id = t0 . id WHERE t0 . id = 15 ;
Copy
2
0.32 ms
SELECT c0_ . id AS id_0 , c0_ . title AS title_1 , c0_ . subtitle AS subtitle_2 , c0_ . badge AS badge_3 , c0_ . button_text AS button_text_4 , c0_ . link AS link_5 , c0_ . image AS image_6 , c0_ . countries AS countries_7 , c0_ . locale AS locale_8 , c0_ . start_date AS start_date_9 , c0_ . end_date AS end_date_10 , c0_ . is_active AS is_active_11 , c0_ . created_at AS created_at_12 , c0_ . updated_at AS updated_at_13 FROM campaign c0_ WHERE c0_ . countries LIKE ? AND c0_ . locale = ? AND c0_ . is_active = 1 AND c0_ . start_date < = ? AND c0_ . end_date > = ? ORDER BY c0_ . start_date DESC LIMIT 1
Parameters :
[
"%"France"% "
"fr "
"2026-12-03 "
"2026-12-03 "
]
SELECT c0_ . id AS id_0 , c0_ . title AS title_1 , c0_ . subtitle AS subtitle_2 , c0_ . badge AS badge_3 , c0_ . button_text AS button_text_4 , c0_ . link AS link_5 , c0_ . image AS image_6 , c0_ . countries AS countries_7 , c0_ . locale AS locale_8 , c0_ . start_date AS start_date_9 , c0_ . end_date AS end_date_10 , c0_ . is_active AS is_active_11 , c0_ . created_at AS created_at_12 , c0_ . updated_at AS updated_at_13 FROM campaign c0_ WHERE c0_ . countries LIKE '%\"France\"%' AND c0_ . locale = 'fr' AND c0_ . is_active = 1 AND c0_ . start_date < = '2026-12-03' AND c0_ . end_date > = '2026-12-03' ORDER BY c0_ . start_date DESC LIMIT 1 ;
Copy
3
0.23 ms
SELECT t0 . id AS id_1 , t0 . prescription_percent AS prescription_percent_2 , t0 . month AS month_3 , t0 . status AS status_4 , t0 . comment AS comment_5 , t0 . pharmacy_id AS pharmacy_id_6 FROM report t0 WHERE t0 . pharmacy_id = ? AND t0 . month = ? LIMIT 1
Parameters :
[
10
"2026-11 "
]
SELECT t0 . id AS id_1 , t0 . prescription_percent AS prescription_percent_2 , t0 . month AS month_3 , t0 . status AS status_4 , t0 . comment AS comment_5 , t0 . pharmacy_id AS pharmacy_id_6 FROM report t0 WHERE t0 . pharmacy_id = 10 AND t0 . month = '2026-11' LIMIT 1 ;
Copy
4
0.82 ms
SHOW COLUMNS FROM Customer
SHOW COLUMNS FROM Customer ;
Copy
5
28.55 ms
SELECT c . Id , c . name , c . companyId , c . additionalDiscount , c . totalAmountTaxExcl
FROM Customer c
LEFT JOIN CustomerUserInvitation cui ON c . Id = cui . CustomerId
WHERE cui . Email = ? OR c . name = ?
ORDER BY c . Id DESC LIMIT 1
Parameters :
[
"pharmacie.nice@theraconnect.fr "
"Pharmacie de Nice "
]
SELECT c . Id , c . name , c . companyId , c . additionalDiscount , c . totalAmountTaxExcl
FROM Customer c
LEFT JOIN CustomerUserInvitation cui ON c . Id = cui . CustomerId
WHERE cui . Email = 'pharmacie.nice@theraconnect.fr' OR c . name = 'Pharmacie de Nice'
ORDER BY c . Id DESC LIMIT 1 ;
Copy
6
25.90 ms
SELECT c . Id
FROM Customer c
LEFT JOIN CustomerUserInvitation cui ON c . Id = cui . CustomerId
WHERE cui . Email = ? OR c . name = ?
ORDER BY c . Id DESC LIMIT 1
Parameters :
[
"pharmacie.nice@theraconnect.fr "
"Pharmacie de Nice "
]
SELECT c . Id
FROM Customer c
LEFT JOIN CustomerUserInvitation cui ON c . Id = cui . CustomerId
WHERE cui . Email = 'pharmacie.nice@theraconnect.fr' OR c . name = 'Pharmacie de Nice'
ORDER BY c . Id DESC LIMIT 1 ;
Copy