1.34 ms (17.57%)
|
1 |
SELECT t0.id AS id_1, t0.code AS code_2, t0.country AS country_3, t0.province AS province_4, t0.commune AS commune_5, t0.min_price AS min_price_6, t0.max_price AS max_price_7, t0.bedrooms AS bedrooms_8, t0.bathrooms AS bathrooms_9, t0.property_type AS property_type_10, t0.transaction_type AS transaction_type_11, t0.status AS status_12, t0.paid AS paid_13, t0.claim_count AS claim_count_14, t0.can_be_claimed AS can_be_claimed_15, t0.lead_timeframe AS lead_timeframe_16, t0.lead_until AS lead_until_17, t0.must_haves AS must_haves_18, t0.move_in_earliest AS move_in_earliest_19, t0.move_in_latest AS move_in_latest_20, t0.urgency AS urgency_21, t0.alert_duration AS alert_duration_22, t0.alert_frequency AS alert_frequency_23, t0.contact_channel AS contact_channel_24, t0.contact_time AS contact_time_25, t0.whatsapp_consent AS whatsapp_consent_26, t0.created_at AS created_at_27, t0.updated_at AS updated_at_28, t0.user_id AS user_id_29 FROM preference t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.code AS code_2, t0.country AS country_3, t0.province AS province_4, t0.commune AS commune_5, t0.min_price AS min_price_6, t0.max_price AS max_price_7, t0.bedrooms AS bedrooms_8, t0.bathrooms AS bathrooms_9, t0.property_type AS property_type_10, t0.transaction_type AS transaction_type_11, t0.status AS status_12, t0.paid AS paid_13, t0.claim_count AS claim_count_14, t0.can_be_claimed AS can_be_claimed_15, t0.lead_timeframe AS lead_timeframe_16, t0.lead_until AS lead_until_17, t0.must_haves AS must_haves_18, t0.move_in_earliest AS move_in_earliest_19, t0.move_in_latest AS move_in_latest_20, t0.urgency AS urgency_21, t0.alert_duration AS alert_duration_22, t0.alert_frequency AS alert_frequency_23, t0.contact_channel AS contact_channel_24, t0.contact_time AS contact_time_25, t0.whatsapp_consent AS whatsapp_consent_26, t0.created_at AS created_at_27, t0.updated_at AS updated_at_28, t0.user_id AS user_id_29 FROM preference t0 WHERE t0.id = '82';
|
1.24 ms (16.24%)
|
1 |
SELECT t0.id AS id_1, t0.phone AS phone_2, t0.password AS password_3, t0.phonecode AS phonecode_4, t0.firstname AS firstname_5, t0.name AS name_6, t0.terms_and_condition AS terms_and_condition_7, t0.user_type AS user_type_8, t0.account_confirmed AS account_confirmed_9, t0.active AS active_10, t0.is_agent AS is_agent_11, t0.picture AS picture_12, t0.sex AS sex_13, t0.dob AS dob_14, t0.email AS email_15, t0.address AS address_16, t0.agent_phone AS agent_phone_17, t0.agent_phone_code AS agent_phone_code_18, t0.fbck_link AS fbck_link_19, t0.insta_glink AS insta_glink_20, t0.linked_in_link AS linked_in_link_21, t0.code AS code_22, t0.smartimmo_administrator AS smartimmo_administrator_23, t0.block AS block_24, t0.block_reason AS block_reason_25, t0.last_action AS last_action_26, t0.top_agent AS top_agent_27, t0.created_at AS created_at_28, t0.updated_at AS updated_at_29, t0.role_id AS role_id_30, t0.agency_id AS agency_id_31, t0.subscriptions_id AS subscriptions_id_32, t0.credit_wallet_id AS credit_wallet_id_33, t34.id AS id_35, t34.balance_credits AS balance_credits_36, t34.last_refill_at AS last_refill_at_37, t34.created_at AS created_at_38, t34.updated_at AS updated_at_39, t0.agent_coverages_id AS agent_coverages_id_40 FROM `user` t0 LEFT JOIN credit_wallet t34 ON t0.credit_wallet_id = t34.id WHERE t0.id = ?
SELECT t0.id AS id_1, t0.phone AS phone_2, t0.password AS password_3, t0.phonecode AS phonecode_4, t0.firstname AS firstname_5, t0.name AS name_6, t0.terms_and_condition AS terms_and_condition_7, t0.user_type AS user_type_8, t0.account_confirmed AS account_confirmed_9, t0.active AS active_10, t0.is_agent AS is_agent_11, t0.picture AS picture_12, t0.sex AS sex_13, t0.dob AS dob_14, t0.email AS email_15, t0.address AS address_16, t0.agent_phone AS agent_phone_17, t0.agent_phone_code AS agent_phone_code_18, t0.fbck_link AS fbck_link_19, t0.insta_glink AS insta_glink_20, t0.linked_in_link AS linked_in_link_21, t0.code AS code_22, t0.smartimmo_administrator AS smartimmo_administrator_23, t0.block AS block_24, t0.block_reason AS block_reason_25, t0.last_action AS last_action_26, t0.top_agent AS top_agent_27, t0.created_at AS created_at_28, t0.updated_at AS updated_at_29, t0.role_id AS role_id_30, t0.agency_id AS agency_id_31, t0.subscriptions_id AS subscriptions_id_32, t0.credit_wallet_id AS credit_wallet_id_33, t34.id AS id_35, t34.balance_credits AS balance_credits_36, t34.last_refill_at AS last_refill_at_37, t34.created_at AS created_at_38, t34.updated_at AS updated_at_39, t0.agent_coverages_id AS agent_coverages_id_40 FROM `user` t0 LEFT JOIN credit_wallet t34 ON t0.credit_wallet_id = t34.id WHERE t0.id = 1;
|
1.23 ms (16.17%)
|
1 |
SELECT t0.id AS id_1, t0.code AS code_2, t0.amount AS amount_3, t0.transaction_id AS transaction_id_4, t0.status AS status_5, t0.created_at AS created_at_6, t0.updated_at AS updated_at_7, t0.user_id AS user_id_8, t9.id AS id_10, t9.phone AS phone_11, t9.password AS password_12, t9.phonecode AS phonecode_13, t9.firstname AS firstname_14, t9.name AS name_15, t9.terms_and_condition AS terms_and_condition_16, t9.user_type AS user_type_17, t9.account_confirmed AS account_confirmed_18, t9.active AS active_19, t9.is_agent AS is_agent_20, t9.picture AS picture_21, t9.sex AS sex_22, t9.dob AS dob_23, t9.email AS email_24, t9.address AS address_25, t9.agent_phone AS agent_phone_26, t9.agent_phone_code AS agent_phone_code_27, t9.fbck_link AS fbck_link_28, t9.insta_glink AS insta_glink_29, t9.linked_in_link AS linked_in_link_30, t9.code AS code_31, t9.smartimmo_administrator AS smartimmo_administrator_32, t9.block AS block_33, t9.block_reason AS block_reason_34, t9.last_action AS last_action_35, t9.top_agent AS top_agent_36, t9.created_at AS created_at_37, t9.updated_at AS updated_at_38, t9.role_id AS role_id_39, t9.agency_id AS agency_id_40, t9.subscriptions_id AS subscriptions_id_41, t9.credit_wallet_id AS credit_wallet_id_42, t9.agent_coverages_id AS agent_coverages_id_43, t0.subscription_id AS subscription_id_44 FROM payment_for_membership t0 LEFT JOIN `user` t9 ON t0.user_id = t9.id WHERE t0.user_id IN (?)
SELECT
t0.id AS id_1,
t0.code AS code_2,
t0.amount AS amount_3,
t0.transaction_id AS transaction_id_4,
t0.status AS status_5,
t0.created_at AS created_at_6,
t0.updated_at AS updated_at_7,
t0.user_id AS user_id_8,
t9.id AS id_10,
t9.phone AS phone_11,
t9.password AS password_12,
t9.phonecode AS phonecode_13,
t9.firstname AS firstname_14,
t9.name AS name_15,
t9.terms_and_condition AS terms_and_condition_16,
t9.user_type AS user_type_17,
t9.account_confirmed AS account_confirmed_18,
t9.active AS active_19,
t9.is_agent AS is_agent_20,
t9.picture AS picture_21,
t9.sex AS sex_22,
t9.dob AS dob_23,
t9.email AS email_24,
t9.address AS address_25,
t9.agent_phone AS agent_phone_26,
t9.agent_phone_code AS agent_phone_code_27,
t9.fbck_link AS fbck_link_28,
t9.insta_glink AS insta_glink_29,
t9.linked_in_link AS linked_in_link_30,
t9.code AS code_31,
t9.smartimmo_administrator AS smartimmo_administrator_32,
t9.block AS block_33,
t9.block_reason AS block_reason_34,
t9.last_action AS last_action_35,
t9.top_agent AS top_agent_36,
t9.created_at AS created_at_37,
t9.updated_at AS updated_at_38,
t9.role_id AS role_id_39,
t9.agency_id AS agency_id_40,
t9.subscriptions_id AS subscriptions_id_41,
t9.credit_wallet_id AS credit_wallet_id_42,
t9.agent_coverages_id AS agent_coverages_id_43,
t0.subscription_id AS subscription_id_44
FROM
payment_for_membership t0
LEFT JOIN `user` t9 ON t0.user_id = t9.id
WHERE
t0.user_id IN (?)
SELECT t0.id AS id_1, t0.code AS code_2, t0.amount AS amount_3, t0.transaction_id AS transaction_id_4, t0.status AS status_5, t0.created_at AS created_at_6, t0.updated_at AS updated_at_7, t0.user_id AS user_id_8, t9.id AS id_10, t9.phone AS phone_11, t9.password AS password_12, t9.phonecode AS phonecode_13, t9.firstname AS firstname_14, t9.name AS name_15, t9.terms_and_condition AS terms_and_condition_16, t9.user_type AS user_type_17, t9.account_confirmed AS account_confirmed_18, t9.active AS active_19, t9.is_agent AS is_agent_20, t9.picture AS picture_21, t9.sex AS sex_22, t9.dob AS dob_23, t9.email AS email_24, t9.address AS address_25, t9.agent_phone AS agent_phone_26, t9.agent_phone_code AS agent_phone_code_27, t9.fbck_link AS fbck_link_28, t9.insta_glink AS insta_glink_29, t9.linked_in_link AS linked_in_link_30, t9.code AS code_31, t9.smartimmo_administrator AS smartimmo_administrator_32, t9.block AS block_33, t9.block_reason AS block_reason_34, t9.last_action AS last_action_35, t9.top_agent AS top_agent_36, t9.created_at AS created_at_37, t9.updated_at AS updated_at_38, t9.role_id AS role_id_39, t9.agency_id AS agency_id_40, t9.subscriptions_id AS subscriptions_id_41, t9.credit_wallet_id AS credit_wallet_id_42, t9.agent_coverages_id AS agent_coverages_id_43, t0.subscription_id AS subscription_id_44 FROM payment_for_membership t0 LEFT JOIN `user` t9 ON t0.user_id = t9.id WHERE t0.user_id IN (1);
|
1.14 ms (14.95%)
|
1 |
SELECT 1 AS sclr_0 FROM lead_claims l0_ WHERE l0_.lead_id = ? AND l0_.agent_id = ? AND l0_.status IN (?, ?, ?) LIMIT 1
Parameters: [
82
1
"claimed"
"in_progress"
"won"
]
SELECT 1 AS sclr_0 FROM lead_claims l0_ WHERE l0_.lead_id = 82 AND l0_.agent_id = 1 AND l0_.status IN ('claimed', 'in_progress', 'won') LIMIT 1;
|
1.11 ms (14.54%)
|
1 |
SELECT t0.id AS id_1, t0.phone AS phone_2, t0.password AS password_3, t0.phonecode AS phonecode_4, t0.firstname AS firstname_5, t0.name AS name_6, t0.terms_and_condition AS terms_and_condition_7, t0.user_type AS user_type_8, t0.account_confirmed AS account_confirmed_9, t0.active AS active_10, t0.is_agent AS is_agent_11, t0.picture AS picture_12, t0.sex AS sex_13, t0.dob AS dob_14, t0.email AS email_15, t0.address AS address_16, t0.agent_phone AS agent_phone_17, t0.agent_phone_code AS agent_phone_code_18, t0.fbck_link AS fbck_link_19, t0.insta_glink AS insta_glink_20, t0.linked_in_link AS linked_in_link_21, t0.code AS code_22, t0.smartimmo_administrator AS smartimmo_administrator_23, t0.block AS block_24, t0.block_reason AS block_reason_25, t0.last_action AS last_action_26, t0.top_agent AS top_agent_27, t0.created_at AS created_at_28, t0.updated_at AS updated_at_29, t0.role_id AS role_id_30, t0.agency_id AS agency_id_31, t0.subscriptions_id AS subscriptions_id_32, t0.credit_wallet_id AS credit_wallet_id_33, t34.id AS id_35, t34.balance_credits AS balance_credits_36, t34.last_refill_at AS last_refill_at_37, t34.created_at AS created_at_38, t34.updated_at AS updated_at_39, t0.agent_coverages_id AS agent_coverages_id_40 FROM `user` t0 LEFT JOIN credit_wallet t34 ON t0.credit_wallet_id = t34.id WHERE t0.credit_wallet_id IN (?)
SELECT t0.id AS id_1, t0.phone AS phone_2, t0.password AS password_3, t0.phonecode AS phonecode_4, t0.firstname AS firstname_5, t0.name AS name_6, t0.terms_and_condition AS terms_and_condition_7, t0.user_type AS user_type_8, t0.account_confirmed AS account_confirmed_9, t0.active AS active_10, t0.is_agent AS is_agent_11, t0.picture AS picture_12, t0.sex AS sex_13, t0.dob AS dob_14, t0.email AS email_15, t0.address AS address_16, t0.agent_phone AS agent_phone_17, t0.agent_phone_code AS agent_phone_code_18, t0.fbck_link AS fbck_link_19, t0.insta_glink AS insta_glink_20, t0.linked_in_link AS linked_in_link_21, t0.code AS code_22, t0.smartimmo_administrator AS smartimmo_administrator_23, t0.block AS block_24, t0.block_reason AS block_reason_25, t0.last_action AS last_action_26, t0.top_agent AS top_agent_27, t0.created_at AS created_at_28, t0.updated_at AS updated_at_29, t0.role_id AS role_id_30, t0.agency_id AS agency_id_31, t0.subscriptions_id AS subscriptions_id_32, t0.credit_wallet_id AS credit_wallet_id_33, t34.id AS id_35, t34.balance_credits AS balance_credits_36, t34.last_refill_at AS last_refill_at_37, t34.created_at AS created_at_38, t34.updated_at AS updated_at_39, t0.agent_coverages_id AS agent_coverages_id_40 FROM `user` t0 LEFT JOIN credit_wallet t34 ON t0.credit_wallet_id = t34.id WHERE t0.credit_wallet_id IN (1);
|
0.83 ms (10.94%)
|
1 |
SELECT t0.id AS id_1, t0.code AS code_2, t0.name AS name_3 FROM privilege t0 INNER JOIN role_privilege ON t0.id = role_privilege.privilege_id WHERE role_privilege.role_id = ?
SELECT t0.id AS id_1, t0.code AS code_2, t0.name AS name_3 FROM privilege t0 INNER JOIN role_privilege ON t0.id = role_privilege.privilege_id WHERE role_privilege.role_id = 3;
|
0.73 ms (9.58%)
|
1 |
SELECT t0.id AS id_1, t0.name AS name_2 FROM roles t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.name AS name_2 FROM roles t0 WHERE t0.id = 3;
|