1
0.22 ms
SELECT t0 . id AS id_1 , t0 . email AS email_2 , t0 . roles AS roles_3 , t0 . password AS password_4 , t0 . avatar AS avatar_5 , t0 . updated_at AS updated_at_6 , t0 . subscription_started_at AS subscription_started_at_7 , t0 . subscription_ended_at AS subscription_ended_at_8 , t0 . type AS type_9 , t0 . customer_id AS customer_id_10 , t0 . sub_id AS sub_id_11 , t0 . subscription_active AS subscription_active_12 , t0 . subscription_type AS subscription_type_13 , t0 . created_at AS created_at_14 , t0 . enabled AS enabled_15 , t0 . address AS address_16 , t0 . complement_address AS complement_address_17 , t0 . zipcode AS zipcode_18 , t0 . city AS city_19 , t0 . country AS country_20 , t0 . first_name AS first_name_21 , t0 . last_name AS last_name_22 , t0 . phone AS phone_23 , t0 . email_validation_code AS email_validation_code_24 , t0 . email_validation_code_generated_at AS email_validation_code_generated_at_25 , t0 . reset_token AS reset_token_26 , t0 . reset_token_expires_at AS reset_token_expires_at_27 , t0 . credits AS credits_28 , t29 . id AS id_30 , t29 . name AS name_31 , t29 . phone AS phone_32 , t29 . bio AS bio_33 , t29 . specialty AS specialty_34 , t29 . rate AS rate_35 , t29 . price AS price_36 , t29 . price_int AS price_int_37 , t29 . latitude AS latitude_38 , t29 . longitude AS longitude_39 , t29 . location_updated_at AS location_updated_at_40 , t29 . facebook AS facebook_41 , t29 . instagram AS instagram_42 , t29 . whatsapp AS whatsapp_43 , t29 . tiktok AS tiktok_44 , t29 . user_id AS user_id_45 , t46 . id AS id_47 , t46 . phone AS phone_48 , t46 . name AS name_49 , t46 . description AS description_50 , t46 . opening_hours AS opening_hours_51 , t46 . closed_days AS closed_days_52 , t46 . latitude AS latitude_53 , t46 . longitude AS longitude_54 , t46 . budget AS budget_55 , t46 . instagram_url AS instagram_url_56 , t46 . facebook_url AS facebook_url_57 , t46 . website_url AS website_url_58 , t46 . rib_url AS rib_url_59 , t46 . user_id AS user_id_60 , t61 . id AS id_62 , t61 . preferred_location AS preferred_location_63 , t61 . typical_event_budget AS typical_event_budget_64 , t61 . user_id AS user_id_65 FROM user t0 LEFT JOIN artist t29 ON t29 . user_id = t0 . id LEFT JOIN establishment t46 ON t46 . user_id = t0 . id LEFT JOIN user_preferences t61 ON t61 . user_id = t0 . id WHERE t0 . email = ? LIMIT 1
Parameters :
[
"establishment0@artlink.local "
]
SELECT
t0 . id AS id_1 ,
t0 . email AS email_2 ,
t0 . roles AS roles_3 ,
t0 . password AS password_4 ,
t0 . avatar AS avatar_5 ,
t0 . updated_at AS updated_at_6 ,
t0 . subscription_started_at AS subscription_started_at_7 ,
t0 . subscription_ended_at AS subscription_ended_at_8 ,
t0 . type AS type_9 ,
t0 . customer_id AS customer_id_10 ,
t0 . sub_id AS sub_id_11 ,
t0 . subscription_active AS subscription_active_12 ,
t0 . subscription_type AS subscription_type_13 ,
t0 . created_at AS created_at_14 ,
t0 . enabled AS enabled_15 ,
t0 . address AS address_16 ,
t0 . complement_address AS complement_address_17 ,
t0 . zipcode AS zipcode_18 ,
t0 . city AS city_19 ,
t0 . country AS country_20 ,
t0 . first_name AS first_name_21 ,
t0 . last_name AS last_name_22 ,
t0 . phone AS phone_23 ,
t0 . email_validation_code AS email_validation_code_24 ,
t0 . email_validation_code_generated_at AS email_validation_code_generated_at_25 ,
t0 . reset_token AS reset_token_26 ,
t0 . reset_token_expires_at AS reset_token_expires_at_27 ,
t0 . credits AS credits_28 ,
t29 . id AS id_30 ,
t29 . name AS name_31 ,
t29 . phone AS phone_32 ,
t29 . bio AS bio_33 ,
t29 . specialty AS specialty_34 ,
t29 . rate AS rate_35 ,
t29 . price AS price_36 ,
t29 . price_int AS price_int_37 ,
t29 . latitude AS latitude_38 ,
t29 . longitude AS longitude_39 ,
t29 . location_updated_at AS location_updated_at_40 ,
t29 . facebook AS facebook_41 ,
t29 . instagram AS instagram_42 ,
t29 . whatsapp AS whatsapp_43 ,
t29 . tiktok AS tiktok_44 ,
t29 . user_id AS user_id_45 ,
t46 . id AS id_47 ,
t46 . phone AS phone_48 ,
t46 . name AS name_49 ,
t46 . description AS description_50 ,
t46 . opening_hours AS opening_hours_51 ,
t46 . closed_days AS closed_days_52 ,
t46 . latitude AS latitude_53 ,
t46 . longitude AS longitude_54 ,
t46 . budget AS budget_55 ,
t46 . instagram_url AS instagram_url_56 ,
t46 . facebook_url AS facebook_url_57 ,
t46 . website_url AS website_url_58 ,
t46 . rib_url AS rib_url_59 ,
t46 . user_id AS user_id_60 ,
t61 . id AS id_62 ,
t61 . preferred_location AS preferred_location_63 ,
t61 . typical_event_budget AS typical_event_budget_64 ,
t61 . user_id AS user_id_65
FROM
user t0
LEFT JOIN artist t29 ON t29 . user_id = t0 . id
LEFT JOIN establishment t46 ON t46 . user_id = t0 . id
LEFT JOIN user_preferences t61 ON t61 . user_id = t0 . id
WHERE
t0 . email = ?
LIMIT
1
Copy
SELECT t0 . id AS id_1 , t0 . email AS email_2 , t0 . roles AS roles_3 , t0 . password AS password_4 , t0 . avatar AS avatar_5 , t0 . updated_at AS updated_at_6 , t0 . subscription_started_at AS subscription_started_at_7 , t0 . subscription_ended_at AS subscription_ended_at_8 , t0 . type AS type_9 , t0 . customer_id AS customer_id_10 , t0 . sub_id AS sub_id_11 , t0 . subscription_active AS subscription_active_12 , t0 . subscription_type AS subscription_type_13 , t0 . created_at AS created_at_14 , t0 . enabled AS enabled_15 , t0 . address AS address_16 , t0 . complement_address AS complement_address_17 , t0 . zipcode AS zipcode_18 , t0 . city AS city_19 , t0 . country AS country_20 , t0 . first_name AS first_name_21 , t0 . last_name AS last_name_22 , t0 . phone AS phone_23 , t0 . email_validation_code AS email_validation_code_24 , t0 . email_validation_code_generated_at AS email_validation_code_generated_at_25 , t0 . reset_token AS reset_token_26 , t0 . reset_token_expires_at AS reset_token_expires_at_27 , t0 . credits AS credits_28 , t29 . id AS id_30 , t29 . name AS name_31 , t29 . phone AS phone_32 , t29 . bio AS bio_33 , t29 . specialty AS specialty_34 , t29 . rate AS rate_35 , t29 . price AS price_36 , t29 . price_int AS price_int_37 , t29 . latitude AS latitude_38 , t29 . longitude AS longitude_39 , t29 . location_updated_at AS location_updated_at_40 , t29 . facebook AS facebook_41 , t29 . instagram AS instagram_42 , t29 . whatsapp AS whatsapp_43 , t29 . tiktok AS tiktok_44 , t29 . user_id AS user_id_45 , t46 . id AS id_47 , t46 . phone AS phone_48 , t46 . name AS name_49 , t46 . description AS description_50 , t46 . opening_hours AS opening_hours_51 , t46 . closed_days AS closed_days_52 , t46 . latitude AS latitude_53 , t46 . longitude AS longitude_54 , t46 . budget AS budget_55 , t46 . instagram_url AS instagram_url_56 , t46 . facebook_url AS facebook_url_57 , t46 . website_url AS website_url_58 , t46 . rib_url AS rib_url_59 , t46 . user_id AS user_id_60 , t61 . id AS id_62 , t61 . preferred_location AS preferred_location_63 , t61 . typical_event_budget AS typical_event_budget_64 , t61 . user_id AS user_id_65 FROM user t0 LEFT JOIN artist t29 ON t29 . user_id = t0 . id LEFT JOIN establishment t46 ON t46 . user_id = t0 . id LEFT JOIN user_preferences t61 ON t61 . user_id = t0 . id WHERE t0 . email = 'establishment0@artlink.local' LIMIT 1 ;
Copy
2
0.20 ms
SELECT t0 . id AS id_1 , t0 . balance_due AS balance_due_2 , t0 . balance_paid AS balance_paid_3 , t0 . last_balance_calculation AS last_balance_calculation_4 , t0 . last_payment_date AS last_payment_date_5 , t0 . notes AS notes_6 , t0 . establishment_id AS establishment_id_7 , t8 . id AS id_9 , t8 . phone AS phone_10 , t8 . name AS name_11 , t8 . description AS description_12 , t8 . opening_hours AS opening_hours_13 , t8 . closed_days AS closed_days_14 , t8 . latitude AS latitude_15 , t8 . longitude AS longitude_16 , t8 . budget AS budget_17 , t8 . instagram_url AS instagram_url_18 , t8 . facebook_url AS facebook_url_19 , t8 . website_url AS website_url_20 , t8 . rib_url AS rib_url_21 , t8 . user_id AS user_id_22 FROM establishment_finance t0 INNER JOIN establishment t8 ON t0 . establishment_id = t8 . id WHERE t0 . establishment_id = ?
SELECT t0 . id AS id_1 , t0 . balance_due AS balance_due_2 , t0 . balance_paid AS balance_paid_3 , t0 . last_balance_calculation AS last_balance_calculation_4 , t0 . last_payment_date AS last_payment_date_5 , t0 . notes AS notes_6 , t0 . establishment_id AS establishment_id_7 , t8 . id AS id_9 , t8 . phone AS phone_10 , t8 . name AS name_11 , t8 . description AS description_12 , t8 . opening_hours AS opening_hours_13 , t8 . closed_days AS closed_days_14 , t8 . latitude AS latitude_15 , t8 . longitude AS longitude_16 , t8 . budget AS budget_17 , t8 . instagram_url AS instagram_url_18 , t8 . facebook_url AS facebook_url_19 , t8 . website_url AS website_url_20 , t8 . rib_url AS rib_url_21 , t8 . user_id AS user_id_22 FROM establishment_finance t0 INNER JOIN establishment t8 ON t0 . establishment_id = t8 . id WHERE t0 . establishment_id = 21 ;
Copy