https://dev.causepilot.com/test/spring-2015-gala

Query Metrics

12 Database Queries
9 Different statements
18.14 ms Query time
10 Invalid entities

Queries

Group similar statements

# Time Info
1 0.00 ms
SET time_zone = 'America/Chicago'
Parameters:
[]
2 0.63 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.active AS active_4, t0.approved AS approved_5, t0.commission AS commission_6, t0.enable_customizations AS enable_customizations_7, t0.non_profit AS non_profit_8, t0.service_fees_cap AS service_fees_cap_9, t0.total_service_fees AS total_service_fees_10, t0.total_service_fees_capped AS total_service_fees_capped_11, t0.plan_renewal_amount AS plan_renewal_amount_12, t0.tin AS tin_13, t0.url_editable_until AS url_editable_until_14, t0.created_at AS created_at_15, t0.admin_org AS admin_org_16, t0.stripe_address_check AS stripe_address_check_17, t0.mandrill_subaccount AS mandrill_subaccount_18, t0.currency AS currency_19, t0.phone AS phone_20, t0.contact_name AS contact_name_21, t0.contact_email AS contact_email_22, t0.notes AS notes_23, t0.no_payment_gateway_required AS no_payment_gateway_required_24, t0.kindful_token AS kindful_token_25, t0.stripe_subscription_id AS stripe_subscription_id_26, t0.web_address AS web_address_27, t0.organization_type AS organization_type_28, t0.non_profit_approved AS non_profit_approved_29, t0.flight_simulator_status AS flight_simulator_status_30, t0.org_theme_primary_color AS org_theme_primary_color_31, t0.org_theme_secondary_color AS org_theme_secondary_color_32, t0.org_theme_tertiary_color AS org_theme_tertiary_color_33, t0.org_theme_background_color AS org_theme_background_color_34, t0.org_theme_name AS org_theme_name_35, t0.address1 AS address1_36, t0.address2 AS address2_37, t0.city AS city_38, t0.state AS state_39, t0.country AS country_40, t0.zip AS zip_41, t0.banner_image_id AS banner_image_id_42, t0.logo_image_id AS logo_image_id_43, t0.card_id AS card_id_44, t0.twilio_account AS twilio_account_45, t0.tax_certificate_id AS tax_certificate_id_46 FROM organizations t0 WHERE t0.slug = ? LIMIT 1
Parameters:
[
  "test"
]
3 0.54 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.active AS active_4, t0.approved AS approved_5, t0.commission AS commission_6, t0.enable_customizations AS enable_customizations_7, t0.non_profit AS non_profit_8, t0.service_fees_cap AS service_fees_cap_9, t0.total_service_fees AS total_service_fees_10, t0.total_service_fees_capped AS total_service_fees_capped_11, t0.plan_renewal_amount AS plan_renewal_amount_12, t0.tin AS tin_13, t0.url_editable_until AS url_editable_until_14, t0.created_at AS created_at_15, t0.admin_org AS admin_org_16, t0.stripe_address_check AS stripe_address_check_17, t0.mandrill_subaccount AS mandrill_subaccount_18, t0.currency AS currency_19, t0.phone AS phone_20, t0.contact_name AS contact_name_21, t0.contact_email AS contact_email_22, t0.notes AS notes_23, t0.no_payment_gateway_required AS no_payment_gateway_required_24, t0.kindful_token AS kindful_token_25, t0.stripe_subscription_id AS stripe_subscription_id_26, t0.web_address AS web_address_27, t0.organization_type AS organization_type_28, t0.non_profit_approved AS non_profit_approved_29, t0.flight_simulator_status AS flight_simulator_status_30, t0.org_theme_primary_color AS org_theme_primary_color_31, t0.org_theme_secondary_color AS org_theme_secondary_color_32, t0.org_theme_tertiary_color AS org_theme_tertiary_color_33, t0.org_theme_background_color AS org_theme_background_color_34, t0.org_theme_name AS org_theme_name_35, t0.address1 AS address1_36, t0.address2 AS address2_37, t0.city AS city_38, t0.state AS state_39, t0.country AS country_40, t0.zip AS zip_41, t0.banner_image_id AS banner_image_id_42, t0.logo_image_id AS logo_image_id_43, t0.card_id AS card_id_44, t0.twilio_account AS twilio_account_45, t0.tax_certificate_id AS tax_certificate_id_46 FROM organizations t0 WHERE t0.slug = ? LIMIT 1
Parameters:
[
  "test"
]
4 0.44 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.active AS active_4, t0.approved AS approved_5, t0.commission AS commission_6, t0.enable_customizations AS enable_customizations_7, t0.non_profit AS non_profit_8, t0.service_fees_cap AS service_fees_cap_9, t0.total_service_fees AS total_service_fees_10, t0.total_service_fees_capped AS total_service_fees_capped_11, t0.plan_renewal_amount AS plan_renewal_amount_12, t0.tin AS tin_13, t0.url_editable_until AS url_editable_until_14, t0.created_at AS created_at_15, t0.admin_org AS admin_org_16, t0.stripe_address_check AS stripe_address_check_17, t0.mandrill_subaccount AS mandrill_subaccount_18, t0.currency AS currency_19, t0.phone AS phone_20, t0.contact_name AS contact_name_21, t0.contact_email AS contact_email_22, t0.notes AS notes_23, t0.no_payment_gateway_required AS no_payment_gateway_required_24, t0.kindful_token AS kindful_token_25, t0.stripe_subscription_id AS stripe_subscription_id_26, t0.web_address AS web_address_27, t0.organization_type AS organization_type_28, t0.non_profit_approved AS non_profit_approved_29, t0.flight_simulator_status AS flight_simulator_status_30, t0.org_theme_primary_color AS org_theme_primary_color_31, t0.org_theme_secondary_color AS org_theme_secondary_color_32, t0.org_theme_tertiary_color AS org_theme_tertiary_color_33, t0.org_theme_background_color AS org_theme_background_color_34, t0.org_theme_name AS org_theme_name_35, t0.address1 AS address1_36, t0.address2 AS address2_37, t0.city AS city_38, t0.state AS state_39, t0.country AS country_40, t0.zip AS zip_41, t0.banner_image_id AS banner_image_id_42, t0.logo_image_id AS logo_image_id_43, t0.card_id AS card_id_44, t0.twilio_account AS twilio_account_45, t0.tax_certificate_id AS tax_certificate_id_46 FROM organizations t0 WHERE t0.slug = ? LIMIT 1
Parameters:
[
  "test"
]
5 0.97 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.active AS active_4, t0.description AS description_5, t0.service_fee_type AS service_fee_type_6, t0.transaction_fee_passthrough AS transaction_fee_passthrough_7, t0.collect_cc_info AS collect_cc_info_8, t0.details_title AS details_title_9, t0.details_body AS details_body_10, t0.homepage_content AS homepage_content_11, t0.has_auction AS has_auction_12, t0.has_shop AS has_shop_13, t0.has_fund_a_need AS has_fund_a_need_14, t0.has_sponsorship AS has_sponsorship_15, t0.sponsorship_signup AS sponsorship_signup_16, t0.has_tickets AS has_tickets_17, t0.self_check_in_date AS self_check_in_date_18, t0.ticket_type AS ticket_type_19, t0.ticket_quantity AS ticket_quantity_20, t0.ticket_end AS ticket_end_21, t0.ticket_display_name AS ticket_display_name_22, t0.shop_display_name AS shop_display_name_23, t0.fundaneed_display_name AS fundaneed_display_name_24, t0.crew_up_setup_display_name AS crew_up_setup_display_name_25, t0.crew_up_setup_text_description AS crew_up_setup_text_description_26, t0.paddle_raise_display_name AS paddle_raise_display_name_27, t0.raffle_display_name AS raffle_display_name_28, t0.shop_goal AS shop_goal_29, t0.fund_a_need_goal AS fund_a_need_goal_30, t0.paddle_raise_goal AS paddle_raise_goal_31, t0.external_purchase_display_name AS external_purchase_display_name_32, t0.has_item_donations AS has_item_donations_33, t0.has_procurement AS has_procurement_34, t0.has_cash_donations AS has_cash_donations_35, t0.has_fund_drive AS has_fund_drive_36, t0.fund_drive_name AS fund_drive_name_37, t0.fund_drive_begin AS fund_drive_begin_38, t0.fund_drive_end AS fund_drive_end_39, t0.payment_notice AS payment_notice_40, t0.has_membership AS has_membership_41, t0.membership_begin AS membership_begin_42, t0.membership_end AS membership_end_43, t0.encourage_cash_donations AS encourage_cash_donations_44, t0.show_cash_donations AS show_cash_donations_45, t0.goal_cash_donations AS goal_cash_donations_46, t0.goal_cash_donation_display AS goal_cash_donation_display_47, t0.goal_cash_donation_display_progress AS goal_cash_donation_display_progress_48, t0.has_registrations AS has_registrations_49, t0.require_registration_waiver AS require_registration_waiver_50, t0.registration_waiver AS registration_waiver_51, t0.registration_start AS registration_start_52, t0.registration_end AS registration_end_53, t0.has_paddle_raise AS has_paddle_raise_54, t0.show_paddle_raise_mobile AS show_paddle_raise_mobile_55, t0.has_display_feeds AS has_display_feeds_56, t0.has_volunteers AS has_volunteers_57, t0.timezone AS timezone_58, t0.perpetual AS perpetual_59, t0.pay_by_check AS pay_by_check_60, t0.hold_items_in_cart AS hold_items_in_cart_61, t0.allow_custom_payment_instructions AS allow_custom_payment_instructions_62, t0.custom_payment_instructions AS custom_payment_instructions_63, t0.donation_text AS donation_text_64, t0.sms_reply AS sms_reply_65, t0.has_raffle AS has_raffle_66, t0.raffle_start AS raffle_start_67, t0.raffle_end AS raffle_end_68, t0.raffle_show_winners_on_homepage AS raffle_show_winners_on_homepage_69, t0.fees AS fees_70, t0.send_purchase_email AS send_purchase_email_71, t0.created_at AS created_at_72, t0.video_url AS video_url_73, t0.video_alignment AS video_alignment_74, t0.video_size AS video_size_75, t0.campaign_theme_primary_color AS campaign_theme_primary_color_76, t0.campaign_theme_secondary_color AS campaign_theme_secondary_color_77, t0.campaign_theme_tertiary_color AS campaign_theme_tertiary_color_78, t0.campaign_theme_background_color AS campaign_theme_background_color_79, t0.campaign_theme_name AS campaign_theme_name_80, t0.organization_id AS organization_id_81, t0.banner_image_id AS banner_image_id_82, t0.logo_image_id AS logo_image_id_83, t84.id AS id_85, t84.number AS number_86, t84.expires_at AS expires_at_87, t84.campaign_id AS campaign_id_88 FROM campaigns t0 LEFT JOIN twilio_campaigns t84 ON t84.campaign_id = t0.id WHERE t0.organization_id = ? AND t0.slug = ? LIMIT 1
Parameters:
[
  103
  "spring-2015-gala"
]
6 0.45 ms
SELECT t0.id AS id_1, t0.online_begin AS online_begin_2, t0.online_end AS online_end_3, t0.onsite_begin AS onsite_begin_4, t0.onsite_end AS onsite_end_5, t0.has_online AS has_online_6, t0.has_onsite AS has_onsite_7, t0.online_ticket_required AS online_ticket_required_8, t0.onsite_ticket_required AS onsite_ticket_required_9, t0.online_registration_required AS online_registration_required_10, t0.onsite_registration_required AS onsite_registration_required_11, t0.location AS location_12, t0.location_link AS location_link_13, t0.bid_increment AS bid_increment_14, t0.pickup_instructions AS pickup_instructions_15, t0.bidding_rules AS bidding_rules_16, t0.overtime_bidding AS overtime_bidding_17, t0.created_at AS created_at_18, t0.show_auction_title AS show_auction_title_19, t0.show_qty_remaining AS show_qty_remaining_20, t0.are_you_sure_modal AS are_you_sure_modal_21, t0.campaign_id AS campaign_id_22, t0.type FROM auctions t0 WHERE t0.campaign_id = ? AND t0.type IN ('auction', 'shop', 'fund-a-need')
Parameters:
[
  1677
]
7 0.41 ms
SELECT t0.id AS id_1, t0.online_begin AS online_begin_2, t0.online_end AS online_end_3, t0.onsite_begin AS onsite_begin_4, t0.onsite_end AS onsite_end_5, t0.has_online AS has_online_6, t0.has_onsite AS has_onsite_7, t0.online_ticket_required AS online_ticket_required_8, t0.onsite_ticket_required AS onsite_ticket_required_9, t0.online_registration_required AS online_registration_required_10, t0.onsite_registration_required AS onsite_registration_required_11, t0.location AS location_12, t0.location_link AS location_link_13, t0.bid_increment AS bid_increment_14, t0.pickup_instructions AS pickup_instructions_15, t0.bidding_rules AS bidding_rules_16, t0.overtime_bidding AS overtime_bidding_17, t0.created_at AS created_at_18, t0.show_auction_title AS show_auction_title_19, t0.show_qty_remaining AS show_qty_remaining_20, t0.are_you_sure_modal AS are_you_sure_modal_21, t0.campaign_id AS campaign_id_22, t0.type FROM auctions t0 WHERE t0.campaign_id = ? AND t0.type IN ('shop')
Parameters:
[
  1677
]
8 0.39 ms
SELECT t0.id AS id_1, t0.online_begin AS online_begin_2, t0.online_end AS online_end_3, t0.onsite_begin AS onsite_begin_4, t0.onsite_end AS onsite_end_5, t0.has_online AS has_online_6, t0.has_onsite AS has_onsite_7, t0.online_ticket_required AS online_ticket_required_8, t0.onsite_ticket_required AS onsite_ticket_required_9, t0.online_registration_required AS online_registration_required_10, t0.onsite_registration_required AS onsite_registration_required_11, t0.location AS location_12, t0.location_link AS location_link_13, t0.bid_increment AS bid_increment_14, t0.pickup_instructions AS pickup_instructions_15, t0.bidding_rules AS bidding_rules_16, t0.overtime_bidding AS overtime_bidding_17, t0.created_at AS created_at_18, t0.show_auction_title AS show_auction_title_19, t0.show_qty_remaining AS show_qty_remaining_20, t0.are_you_sure_modal AS are_you_sure_modal_21, t0.campaign_id AS campaign_id_22, t0.type FROM auctions t0 WHERE t0.campaign_id = ? AND t0.type IN ('fund-a-need')
Parameters:
[
  1677
]
9 5.00 ms
SELECT (SELECT COUNT(w0_.id) AS sclr_1 FROM watch_list w0_ WHERE w0_.item_id = a1_.id) AS sclr_0, (SELECT COUNT(b2_.id) AS sclr_3 FROM bids b2_ WHERE b2_.item_id = a1_.id AND b2_.active = 1) AS sclr_2, (SELECT MAX(b3_.amount) AS sclr_5 FROM bids b3_ WHERE b3_.item_id = a1_.id) AS sclr_4, a1_.id AS id_6, a1_.item_number AS item_number_7, a1_.name AS name_8, a1_.description AS description_9, a1_.short_description AS short_description_10, a1_.min_bid AS min_bid_11, a1_.reserve_price AS reserve_price_12, a1_.buy_it_now_price AS buy_it_now_price_13, a1_.bid_increment AS bid_increment_14, a1_.tax_deduct_amount AS tax_deduct_amount_15, a1_.est_value AS est_value_16, a1_.est_value_display AS est_value_display_17, a1_.begin_quantity AS begin_quantity_18, a1_.current_quantity AS current_quantity_19, a1_.overtime_bidding_extended AS overtime_bidding_extended_20, a1_.featured AS featured_21, a1_.donor_anonymous AS donor_anonymous_22, a1_.pickup_instructions AS pickup_instructions_23, a1_.bid_begin AS bid_begin_24, a1_.bid_end AS bid_end_25, a1_.active AS active_26, a1_.question_text AS question_text_27, a1_.question_required AS question_required_28, a1_.collect_email AS collect_email_29, a1_.sort_order AS sort_order_30, a1_.created_at AS created_at_31, a1_.show_purchasers AS show_purchasers_32, p4_.id AS id_33, p4_.amount AS amount_34, p4_.transaction_amount AS transaction_amount_35, p4_.tax_deduct_amount AS tax_deduct_amount_36, p4_.convenience_fee AS convenience_fee_37, p4_.service_fee AS service_fee_38, p4_.transaction_fee AS transaction_fee_39, p4_.expiration_date AS expiration_date_40, p4_.pickup_time AS pickup_time_41, p4_.external_payment AS external_payment_42, p4_.question_text AS question_text_43, p4_.question_answer AS question_answer_44, p4_.question_required AS question_required_45, p4_.date AS date_46, p4_.item_purchase_email AS item_purchase_email_47, i5_.id AS id_48, i5_.primmary AS primmary_49, i6_.id AS id_50, i6_.path AS path_51, i6_.hash AS hash_52, i6_.created_at AS created_at_53, t7_.id AS id_54, t7_.amount AS amount_55, t7_.tax_deduct_amt AS tax_deduct_amt_56, t7_.transaction_fee AS transaction_fee_57, t7_.service_fee AS service_fee_58, t7_.service_fee_capped AS service_fee_capped_59, t7_.captured_transaction_fee AS captured_transaction_fee_60, t7_.user_paid_fee AS user_paid_fee_61, t7_.profit AS profit_62, t7_.balance AS balance_63, t7_.status AS status_64, t7_.service_fee_type AS service_fee_type_65, t7_.payout_eligible AS payout_eligible_66, t7_.total AS total_67, t7_.date AS date_68, t7_.check_number AS check_number_69, t7_.paypal_txn_id AS paypal_txn_id_70, t7_.payout_note AS payout_note_71, t7_.stripe_charge_id AS stripe_charge_id_72, t7_.authorization AS authorization_73, t7_.stripe_refund_id AS stripe_refund_id_74, b8_.id AS id_75, b8_.amount AS amount_76, b8_.active AS active_77, b8_.created_at AS created_at_78, e9_.id AS id_79, e9_.hash AS hash_80, e9_.subject AS subject_81, e9_.email AS email_82, e9_.body AS body_83, e9_.data AS data_84, e9_.status AS status_85, e9_.error AS error_86, e9_.suppress_send AS suppress_send_87, e9_.created_at AS created_at_88, e9_.sent_at AS sent_at_89, e9_.delivered AS delivered_90, e9_.opened_at AS opened_at_91, e9_.clicked_at AS clicked_at_92, e9_.smtp_status AS smtp_status_93, e9_.preview AS preview_94, a10_.id AS id_95, a10_.item_number AS item_number_96, a10_.name AS name_97, a10_.description AS description_98, a10_.short_description AS short_description_99, a10_.min_bid AS min_bid_100, a10_.reserve_price AS reserve_price_101, a10_.buy_it_now_price AS buy_it_now_price_102, a10_.bid_increment AS bid_increment_103, a10_.tax_deduct_amount AS tax_deduct_amount_104, a10_.est_value AS est_value_105, a10_.est_value_display AS est_value_display_106, a10_.begin_quantity AS begin_quantity_107, a10_.current_quantity AS current_quantity_108, a10_.overtime_bidding_extended AS overtime_bidding_extended_109, a10_.featured AS featured_110, a10_.donor_anonymous AS donor_anonymous_111, a10_.pickup_instructions AS pickup_instructions_112, a10_.bid_begin AS bid_begin_113, a10_.bid_end AS bid_end_114, a10_.active AS active_115, a10_.question_text AS question_text_116, a10_.question_required AS question_required_117, a10_.collect_email AS collect_email_118, a10_.sort_order AS sort_order_119, a10_.created_at AS created_at_120, a10_.show_purchasers AS show_purchasers_121, a1_.auction_id AS auction_id_122, a1_.category_id AS category_id_123, a1_.type_id AS type_id_124, a1_.sale_type_id AS sale_type_id_125, a1_.condition_id AS condition_id_126, a1_.venue_id AS venue_id_127, a1_.user_id AS user_id_128, a1_.company_id AS company_id_129, a1_.winning_bid_id AS winning_bid_id_130, a1_.donor_receipt_email_id AS donor_receipt_email_id_131, a1_.item_package_id AS item_package_id_132, a1_.template_id AS template_id_133, p4_.type AS type_134, p4_.user_id AS user_id_135, p4_.campaign_id AS campaign_id_136, p4_.transaction_id AS transaction_id_137, p4_.refund_transaction_id AS refund_transaction_id_138, p4_.item_id AS item_id_139, p4_.bid_id AS bid_id_140, i5_.item_id AS item_id_141, i5_.image_id AS image_id_142, i6_.organization_id AS organization_id_143, i6_.campaign_id AS campaign_id_144, t7_.type AS type_145, t7_.user_id AS user_id_146, t7_.campaign_id AS campaign_id_147, t7_.refund_transaction_id AS refund_transaction_id_148, b8_.user_id AS user_id_149, b8_.item_id AS item_id_150, e9_.user_id AS user_id_151, e9_.template_id AS template_id_152, e9_.organization_id AS organization_id_153, e9_.campaign_id AS campaign_id_154, a10_.auction_id AS auction_id_155, a10_.category_id AS category_id_156, a10_.type_id AS type_id_157, a10_.sale_type_id AS sale_type_id_158, a10_.condition_id AS condition_id_159, a10_.venue_id AS venue_id_160, a10_.user_id AS user_id_161, a10_.company_id AS company_id_162, a10_.winning_bid_id AS winning_bid_id_163, a10_.donor_receipt_email_id AS donor_receipt_email_id_164, a10_.item_package_id AS item_package_id_165, a10_.template_id AS template_id_166 FROM auction_items a1_ LEFT JOIN purchases p4_ ON a1_.id = p4_.item_id AND p4_.type IN ('item', 'buy_it_now', 'donation_item') LEFT JOIN item_images i5_ ON a1_.id = i5_.item_id LEFT JOIN images i6_ ON i5_.image_id = i6_.id LEFT JOIN transactions t7_ ON p4_.transaction_id = t7_.id AND t7_.type IN ('cash', 'check', 'paypal', 'payout', 'stripe', 'external', 'offlinecreditcard', 'refund', 'stripe_refund', 'flight_simulator', '') LEFT JOIN bids b8_ ON a1_.winning_bid_id = b8_.id LEFT JOIN emails e9_ ON a1_.donor_receipt_email_id = e9_.id LEFT JOIN auction_items a10_ ON a1_.id = a10_.item_package_id LEFT JOIN auction_venues a11_ ON a1_.venue_id = a11_.id LEFT JOIN auctions a12_ ON a1_.auction_id = a12_.id AND a12_.type IN ('auction', 'shop', 'fund-a-need') WHERE a1_.auction_id = ? AND a1_.active = 1 AND ((a1_.sale_type_id = ? AND a1_.current_quantity > 0) OR (a1_.sale_type_id = ? AND p4_.transaction_id IS NULL) OR a1_.sale_type_id = ? OR a1_.sale_type_id = ?) AND ? < CASE WHEN a1_.bid_end IS NOT NULL THEN a1_.bid_end WHEN a11_.id = ? THEN a12_.onsite_end ELSE a12_.online_end END AND a1_.item_package_id IS NULL AND a1_.featured = 1 AND a1_.active = 1 ORDER BY a1_.sort_order DESC, a1_.item_number * 1 DESC
Parameters:
[
  1157
  "fixed-price"
  "auction"
  "manual"
  "donation"
  "2025-10-26 07:08:46"
  "onsite"
]
10 6.03 ms
SELECT (SELECT COUNT(w0_.id) AS sclr_1 FROM watch_list w0_ WHERE w0_.item_id = a1_.id) AS sclr_0, (SELECT COUNT(b2_.id) AS sclr_3 FROM bids b2_ WHERE b2_.item_id = a1_.id AND b2_.active = 1) AS sclr_2, (SELECT MAX(b3_.amount) AS sclr_5 FROM bids b3_ WHERE b3_.item_id = a1_.id) AS sclr_4, a1_.id AS id_6, a1_.item_number AS item_number_7, a1_.name AS name_8, a1_.description AS description_9, a1_.short_description AS short_description_10, a1_.min_bid AS min_bid_11, a1_.reserve_price AS reserve_price_12, a1_.buy_it_now_price AS buy_it_now_price_13, a1_.bid_increment AS bid_increment_14, a1_.tax_deduct_amount AS tax_deduct_amount_15, a1_.est_value AS est_value_16, a1_.est_value_display AS est_value_display_17, a1_.begin_quantity AS begin_quantity_18, a1_.current_quantity AS current_quantity_19, a1_.overtime_bidding_extended AS overtime_bidding_extended_20, a1_.featured AS featured_21, a1_.donor_anonymous AS donor_anonymous_22, a1_.pickup_instructions AS pickup_instructions_23, a1_.bid_begin AS bid_begin_24, a1_.bid_end AS bid_end_25, a1_.active AS active_26, a1_.question_text AS question_text_27, a1_.question_required AS question_required_28, a1_.collect_email AS collect_email_29, a1_.sort_order AS sort_order_30, a1_.created_at AS created_at_31, a1_.show_purchasers AS show_purchasers_32, p4_.id AS id_33, p4_.amount AS amount_34, p4_.transaction_amount AS transaction_amount_35, p4_.tax_deduct_amount AS tax_deduct_amount_36, p4_.convenience_fee AS convenience_fee_37, p4_.service_fee AS service_fee_38, p4_.transaction_fee AS transaction_fee_39, p4_.expiration_date AS expiration_date_40, p4_.pickup_time AS pickup_time_41, p4_.external_payment AS external_payment_42, p4_.question_text AS question_text_43, p4_.question_answer AS question_answer_44, p4_.question_required AS question_required_45, p4_.date AS date_46, p4_.item_purchase_email AS item_purchase_email_47, i5_.id AS id_48, i5_.primmary AS primmary_49, i6_.id AS id_50, i6_.path AS path_51, i6_.hash AS hash_52, i6_.created_at AS created_at_53, t7_.id AS id_54, t7_.amount AS amount_55, t7_.tax_deduct_amt AS tax_deduct_amt_56, t7_.transaction_fee AS transaction_fee_57, t7_.service_fee AS service_fee_58, t7_.service_fee_capped AS service_fee_capped_59, t7_.captured_transaction_fee AS captured_transaction_fee_60, t7_.user_paid_fee AS user_paid_fee_61, t7_.profit AS profit_62, t7_.balance AS balance_63, t7_.status AS status_64, t7_.service_fee_type AS service_fee_type_65, t7_.payout_eligible AS payout_eligible_66, t7_.total AS total_67, t7_.date AS date_68, t7_.check_number AS check_number_69, t7_.paypal_txn_id AS paypal_txn_id_70, t7_.payout_note AS payout_note_71, t7_.stripe_charge_id AS stripe_charge_id_72, t7_.authorization AS authorization_73, t7_.stripe_refund_id AS stripe_refund_id_74, b8_.id AS id_75, b8_.amount AS amount_76, b8_.active AS active_77, b8_.created_at AS created_at_78, e9_.id AS id_79, e9_.hash AS hash_80, e9_.subject AS subject_81, e9_.email AS email_82, e9_.body AS body_83, e9_.data AS data_84, e9_.status AS status_85, e9_.error AS error_86, e9_.suppress_send AS suppress_send_87, e9_.created_at AS created_at_88, e9_.sent_at AS sent_at_89, e9_.delivered AS delivered_90, e9_.opened_at AS opened_at_91, e9_.clicked_at AS clicked_at_92, e9_.smtp_status AS smtp_status_93, e9_.preview AS preview_94, a10_.id AS id_95, a10_.item_number AS item_number_96, a10_.name AS name_97, a10_.description AS description_98, a10_.short_description AS short_description_99, a10_.min_bid AS min_bid_100, a10_.reserve_price AS reserve_price_101, a10_.buy_it_now_price AS buy_it_now_price_102, a10_.bid_increment AS bid_increment_103, a10_.tax_deduct_amount AS tax_deduct_amount_104, a10_.est_value AS est_value_105, a10_.est_value_display AS est_value_display_106, a10_.begin_quantity AS begin_quantity_107, a10_.current_quantity AS current_quantity_108, a10_.overtime_bidding_extended AS overtime_bidding_extended_109, a10_.featured AS featured_110, a10_.donor_anonymous AS donor_anonymous_111, a10_.pickup_instructions AS pickup_instructions_112, a10_.bid_begin AS bid_begin_113, a10_.bid_end AS bid_end_114, a10_.active AS active_115, a10_.question_text AS question_text_116, a10_.question_required AS question_required_117, a10_.collect_email AS collect_email_118, a10_.sort_order AS sort_order_119, a10_.created_at AS created_at_120, a10_.show_purchasers AS show_purchasers_121, a1_.auction_id AS auction_id_122, a1_.category_id AS category_id_123, a1_.type_id AS type_id_124, a1_.sale_type_id AS sale_type_id_125, a1_.condition_id AS condition_id_126, a1_.venue_id AS venue_id_127, a1_.user_id AS user_id_128, a1_.company_id AS company_id_129, a1_.winning_bid_id AS winning_bid_id_130, a1_.donor_receipt_email_id AS donor_receipt_email_id_131, a1_.item_package_id AS item_package_id_132, a1_.template_id AS template_id_133, p4_.type AS type_134, p4_.user_id AS user_id_135, p4_.campaign_id AS campaign_id_136, p4_.transaction_id AS transaction_id_137, p4_.refund_transaction_id AS refund_transaction_id_138, p4_.item_id AS item_id_139, p4_.bid_id AS bid_id_140, i5_.item_id AS item_id_141, i5_.image_id AS image_id_142, i6_.organization_id AS organization_id_143, i6_.campaign_id AS campaign_id_144, t7_.type AS type_145, t7_.user_id AS user_id_146, t7_.campaign_id AS campaign_id_147, t7_.refund_transaction_id AS refund_transaction_id_148, b8_.user_id AS user_id_149, b8_.item_id AS item_id_150, e9_.user_id AS user_id_151, e9_.template_id AS template_id_152, e9_.organization_id AS organization_id_153, e9_.campaign_id AS campaign_id_154, a10_.auction_id AS auction_id_155, a10_.category_id AS category_id_156, a10_.type_id AS type_id_157, a10_.sale_type_id AS sale_type_id_158, a10_.condition_id AS condition_id_159, a10_.venue_id AS venue_id_160, a10_.user_id AS user_id_161, a10_.company_id AS company_id_162, a10_.winning_bid_id AS winning_bid_id_163, a10_.donor_receipt_email_id AS donor_receipt_email_id_164, a10_.item_package_id AS item_package_id_165, a10_.template_id AS template_id_166 FROM auction_items a1_ LEFT JOIN purchases p4_ ON a1_.id = p4_.item_id AND p4_.type IN ('item', 'buy_it_now', 'donation_item') LEFT JOIN item_images i5_ ON a1_.id = i5_.item_id LEFT JOIN images i6_ ON i5_.image_id = i6_.id LEFT JOIN transactions t7_ ON p4_.transaction_id = t7_.id AND t7_.type IN ('cash', 'check', 'paypal', 'payout', 'stripe', 'external', 'offlinecreditcard', 'refund', 'stripe_refund', 'flight_simulator', '') LEFT JOIN bids b8_ ON a1_.winning_bid_id = b8_.id LEFT JOIN emails e9_ ON a1_.donor_receipt_email_id = e9_.id LEFT JOIN auction_items a10_ ON a1_.id = a10_.item_package_id WHERE a1_.auction_id = ? AND a1_.active = 1 AND ((a1_.sale_type_id = ? AND a1_.current_quantity > 0) OR (a1_.sale_type_id = ? AND p4_.transaction_id IS NULL) OR a1_.sale_type_id = ? OR a1_.sale_type_id = ?) AND a1_.item_package_id IS NULL AND a1_.featured = 1 AND a1_.active = 1 ORDER BY a1_.sort_order DESC, a1_.item_number * 1 DESC
Parameters:
[
  1172
  "fixed-price"
  "auction"
  "manual"
  "donation"
]
11 1.51 ms
SELECT (SELECT COUNT(w0_.id) AS sclr_1 FROM watch_list w0_ WHERE w0_.item_id = a1_.id) AS sclr_0, (SELECT COUNT(b2_.id) AS sclr_3 FROM bids b2_ WHERE b2_.item_id = a1_.id AND b2_.active = 1) AS sclr_2, (SELECT MAX(b3_.amount) AS sclr_5 FROM bids b3_ WHERE b3_.item_id = a1_.id) AS sclr_4, a1_.id AS id_6, a1_.item_number AS item_number_7, a1_.name AS name_8, a1_.description AS description_9, a1_.short_description AS short_description_10, a1_.min_bid AS min_bid_11, a1_.reserve_price AS reserve_price_12, a1_.buy_it_now_price AS buy_it_now_price_13, a1_.bid_increment AS bid_increment_14, a1_.tax_deduct_amount AS tax_deduct_amount_15, a1_.est_value AS est_value_16, a1_.est_value_display AS est_value_display_17, a1_.begin_quantity AS begin_quantity_18, a1_.current_quantity AS current_quantity_19, a1_.overtime_bidding_extended AS overtime_bidding_extended_20, a1_.featured AS featured_21, a1_.donor_anonymous AS donor_anonymous_22, a1_.pickup_instructions AS pickup_instructions_23, a1_.bid_begin AS bid_begin_24, a1_.bid_end AS bid_end_25, a1_.active AS active_26, a1_.question_text AS question_text_27, a1_.question_required AS question_required_28, a1_.collect_email AS collect_email_29, a1_.sort_order AS sort_order_30, a1_.created_at AS created_at_31, a1_.show_purchasers AS show_purchasers_32, p4_.id AS id_33, p4_.amount AS amount_34, p4_.transaction_amount AS transaction_amount_35, p4_.tax_deduct_amount AS tax_deduct_amount_36, p4_.convenience_fee AS convenience_fee_37, p4_.service_fee AS service_fee_38, p4_.transaction_fee AS transaction_fee_39, p4_.expiration_date AS expiration_date_40, p4_.pickup_time AS pickup_time_41, p4_.external_payment AS external_payment_42, p4_.question_text AS question_text_43, p4_.question_answer AS question_answer_44, p4_.question_required AS question_required_45, p4_.date AS date_46, p4_.item_purchase_email AS item_purchase_email_47, i5_.id AS id_48, i5_.primmary AS primmary_49, i6_.id AS id_50, i6_.path AS path_51, i6_.hash AS hash_52, i6_.created_at AS created_at_53, t7_.id AS id_54, t7_.amount AS amount_55, t7_.tax_deduct_amt AS tax_deduct_amt_56, t7_.transaction_fee AS transaction_fee_57, t7_.service_fee AS service_fee_58, t7_.service_fee_capped AS service_fee_capped_59, t7_.captured_transaction_fee AS captured_transaction_fee_60, t7_.user_paid_fee AS user_paid_fee_61, t7_.profit AS profit_62, t7_.balance AS balance_63, t7_.status AS status_64, t7_.service_fee_type AS service_fee_type_65, t7_.payout_eligible AS payout_eligible_66, t7_.total AS total_67, t7_.date AS date_68, t7_.check_number AS check_number_69, t7_.paypal_txn_id AS paypal_txn_id_70, t7_.payout_note AS payout_note_71, t7_.stripe_charge_id AS stripe_charge_id_72, t7_.authorization AS authorization_73, t7_.stripe_refund_id AS stripe_refund_id_74, b8_.id AS id_75, b8_.amount AS amount_76, b8_.active AS active_77, b8_.created_at AS created_at_78, e9_.id AS id_79, e9_.hash AS hash_80, e9_.subject AS subject_81, e9_.email AS email_82, e9_.body AS body_83, e9_.data AS data_84, e9_.status AS status_85, e9_.error AS error_86, e9_.suppress_send AS suppress_send_87, e9_.created_at AS created_at_88, e9_.sent_at AS sent_at_89, e9_.delivered AS delivered_90, e9_.opened_at AS opened_at_91, e9_.clicked_at AS clicked_at_92, e9_.smtp_status AS smtp_status_93, e9_.preview AS preview_94, a10_.id AS id_95, a10_.item_number AS item_number_96, a10_.name AS name_97, a10_.description AS description_98, a10_.short_description AS short_description_99, a10_.min_bid AS min_bid_100, a10_.reserve_price AS reserve_price_101, a10_.buy_it_now_price AS buy_it_now_price_102, a10_.bid_increment AS bid_increment_103, a10_.tax_deduct_amount AS tax_deduct_amount_104, a10_.est_value AS est_value_105, a10_.est_value_display AS est_value_display_106, a10_.begin_quantity AS begin_quantity_107, a10_.current_quantity AS current_quantity_108, a10_.overtime_bidding_extended AS overtime_bidding_extended_109, a10_.featured AS featured_110, a10_.donor_anonymous AS donor_anonymous_111, a10_.pickup_instructions AS pickup_instructions_112, a10_.bid_begin AS bid_begin_113, a10_.bid_end AS bid_end_114, a10_.active AS active_115, a10_.question_text AS question_text_116, a10_.question_required AS question_required_117, a10_.collect_email AS collect_email_118, a10_.sort_order AS sort_order_119, a10_.created_at AS created_at_120, a10_.show_purchasers AS show_purchasers_121, a1_.auction_id AS auction_id_122, a1_.category_id AS category_id_123, a1_.type_id AS type_id_124, a1_.sale_type_id AS sale_type_id_125, a1_.condition_id AS condition_id_126, a1_.venue_id AS venue_id_127, a1_.user_id AS user_id_128, a1_.company_id AS company_id_129, a1_.winning_bid_id AS winning_bid_id_130, a1_.donor_receipt_email_id AS donor_receipt_email_id_131, a1_.item_package_id AS item_package_id_132, a1_.template_id AS template_id_133, p4_.type AS type_134, p4_.user_id AS user_id_135, p4_.campaign_id AS campaign_id_136, p4_.transaction_id AS transaction_id_137, p4_.refund_transaction_id AS refund_transaction_id_138, p4_.item_id AS item_id_139, p4_.bid_id AS bid_id_140, i5_.item_id AS item_id_141, i5_.image_id AS image_id_142, i6_.organization_id AS organization_id_143, i6_.campaign_id AS campaign_id_144, t7_.type AS type_145, t7_.user_id AS user_id_146, t7_.campaign_id AS campaign_id_147, t7_.refund_transaction_id AS refund_transaction_id_148, b8_.user_id AS user_id_149, b8_.item_id AS item_id_150, e9_.user_id AS user_id_151, e9_.template_id AS template_id_152, e9_.organization_id AS organization_id_153, e9_.campaign_id AS campaign_id_154, a10_.auction_id AS auction_id_155, a10_.category_id AS category_id_156, a10_.type_id AS type_id_157, a10_.sale_type_id AS sale_type_id_158, a10_.condition_id AS condition_id_159, a10_.venue_id AS venue_id_160, a10_.user_id AS user_id_161, a10_.company_id AS company_id_162, a10_.winning_bid_id AS winning_bid_id_163, a10_.donor_receipt_email_id AS donor_receipt_email_id_164, a10_.item_package_id AS item_package_id_165, a10_.template_id AS template_id_166 FROM auction_items a1_ LEFT JOIN purchases p4_ ON a1_.id = p4_.item_id AND p4_.type IN ('item', 'buy_it_now', 'donation_item') LEFT JOIN item_images i5_ ON a1_.id = i5_.item_id LEFT JOIN images i6_ ON i5_.image_id = i6_.id LEFT JOIN transactions t7_ ON p4_.transaction_id = t7_.id AND t7_.type IN ('cash', 'check', 'paypal', 'payout', 'stripe', 'external', 'offlinecreditcard', 'refund', 'stripe_refund', 'flight_simulator', '') LEFT JOIN bids b8_ ON a1_.winning_bid_id = b8_.id LEFT JOIN emails e9_ ON a1_.donor_receipt_email_id = e9_.id LEFT JOIN auction_items a10_ ON a1_.id = a10_.item_package_id WHERE a1_.auction_id = ? AND a1_.active = 1 AND ((a1_.sale_type_id = ? AND a1_.current_quantity > 0) OR (a1_.sale_type_id = ? AND p4_.transaction_id IS NULL) OR a1_.sale_type_id = ? OR a1_.sale_type_id = ?) AND a1_.item_package_id IS NULL AND a1_.featured = 1 AND a1_.active = 1 ORDER BY a1_.sort_order DESC, a1_.item_number * 1 DESC
Parameters:
[
  1173
  "fixed-price"
  "auction"
  "manual"
  "donation"
]
12 1.77 ms
SELECT r0_.id AS id_0, r0_.number AS number_1, r0_.created_at AS created_at_2, r1_.id AS id_3, r1_.name AS name_4, r1_.description AS description_5, r1_.quantity_available AS quantity_available_6, r1_.price AS price_7, r1_.active AS active_8, r1_.sort_order AS sort_order_9, r1_.instructions AS instructions_10, r1_.drawing_date AS drawing_date_11, r1_.location AS location_12, r1_.created_at AS created_at_13, c2_.id AS id_14, c2_.name AS name_15, c2_.slug AS slug_16, c2_.active AS active_17, c2_.description AS description_18, c2_.service_fee_type AS service_fee_type_19, c2_.transaction_fee_passthrough AS transaction_fee_passthrough_20, c2_.collect_cc_info AS collect_cc_info_21, c2_.details_title AS details_title_22, c2_.details_body AS details_body_23, c2_.homepage_content AS homepage_content_24, c2_.has_auction AS has_auction_25, c2_.has_shop AS has_shop_26, c2_.has_fund_a_need AS has_fund_a_need_27, c2_.has_sponsorship AS has_sponsorship_28, c2_.sponsorship_signup AS sponsorship_signup_29, c2_.has_tickets AS has_tickets_30, c2_.self_check_in_date AS self_check_in_date_31, c2_.ticket_type AS ticket_type_32, c2_.ticket_quantity AS ticket_quantity_33, c2_.ticket_end AS ticket_end_34, c2_.ticket_display_name AS ticket_display_name_35, c2_.shop_display_name AS shop_display_name_36, c2_.fundaneed_display_name AS fundaneed_display_name_37, c2_.crew_up_setup_display_name AS crew_up_setup_display_name_38, c2_.crew_up_setup_text_description AS crew_up_setup_text_description_39, c2_.paddle_raise_display_name AS paddle_raise_display_name_40, c2_.raffle_display_name AS raffle_display_name_41, c2_.shop_goal AS shop_goal_42, c2_.fund_a_need_goal AS fund_a_need_goal_43, c2_.paddle_raise_goal AS paddle_raise_goal_44, c2_.external_purchase_display_name AS external_purchase_display_name_45, c2_.has_item_donations AS has_item_donations_46, c2_.has_procurement AS has_procurement_47, c2_.has_cash_donations AS has_cash_donations_48, c2_.has_fund_drive AS has_fund_drive_49, c2_.fund_drive_name AS fund_drive_name_50, c2_.fund_drive_begin AS fund_drive_begin_51, c2_.fund_drive_end AS fund_drive_end_52, c2_.payment_notice AS payment_notice_53, c2_.has_membership AS has_membership_54, c2_.membership_begin AS membership_begin_55, c2_.membership_end AS membership_end_56, c2_.encourage_cash_donations AS encourage_cash_donations_57, c2_.show_cash_donations AS show_cash_donations_58, c2_.goal_cash_donations AS goal_cash_donations_59, c2_.goal_cash_donation_display AS goal_cash_donation_display_60, c2_.goal_cash_donation_display_progress AS goal_cash_donation_display_progress_61, c2_.has_registrations AS has_registrations_62, c2_.require_registration_waiver AS require_registration_waiver_63, c2_.registration_waiver AS registration_waiver_64, c2_.registration_start AS registration_start_65, c2_.registration_end AS registration_end_66, c2_.has_paddle_raise AS has_paddle_raise_67, c2_.show_paddle_raise_mobile AS show_paddle_raise_mobile_68, c2_.has_display_feeds AS has_display_feeds_69, c2_.has_volunteers AS has_volunteers_70, c2_.timezone AS timezone_71, c2_.perpetual AS perpetual_72, c2_.pay_by_check AS pay_by_check_73, c2_.hold_items_in_cart AS hold_items_in_cart_74, c2_.allow_custom_payment_instructions AS allow_custom_payment_instructions_75, c2_.custom_payment_instructions AS custom_payment_instructions_76, c2_.donation_text AS donation_text_77, c2_.sms_reply AS sms_reply_78, c2_.has_raffle AS has_raffle_79, c2_.raffle_start AS raffle_start_80, c2_.raffle_end AS raffle_end_81, c2_.raffle_show_winners_on_homepage AS raffle_show_winners_on_homepage_82, c2_.fees AS fees_83, c2_.send_purchase_email AS send_purchase_email_84, c2_.created_at AS created_at_85, c2_.video_url AS video_url_86, c2_.video_alignment AS video_alignment_87, c2_.video_size AS video_size_88, c2_.campaign_theme_primary_color AS campaign_theme_primary_color_89, c2_.campaign_theme_secondary_color AS campaign_theme_secondary_color_90, c2_.campaign_theme_tertiary_color AS campaign_theme_tertiary_color_91, c2_.campaign_theme_background_color AS campaign_theme_background_color_92, c2_.campaign_theme_name AS campaign_theme_name_93, o3_.id AS id_94, o3_.name AS name_95, o3_.slug AS slug_96, o3_.active AS active_97, o3_.approved AS approved_98, o3_.commission AS commission_99, o3_.enable_customizations AS enable_customizations_100, o3_.non_profit AS non_profit_101, o3_.service_fees_cap AS service_fees_cap_102, o3_.total_service_fees AS total_service_fees_103, o3_.total_service_fees_capped AS total_service_fees_capped_104, o3_.plan_renewal_amount AS plan_renewal_amount_105, o3_.tin AS tin_106, o3_.url_editable_until AS url_editable_until_107, o3_.created_at AS created_at_108, o3_.admin_org AS admin_org_109, o3_.stripe_address_check AS stripe_address_check_110, o3_.mandrill_subaccount AS mandrill_subaccount_111, o3_.currency AS currency_112, o3_.phone AS phone_113, o3_.contact_name AS contact_name_114, o3_.contact_email AS contact_email_115, o3_.notes AS notes_116, o3_.no_payment_gateway_required AS no_payment_gateway_required_117, o3_.kindful_token AS kindful_token_118, o3_.stripe_subscription_id AS stripe_subscription_id_119, o3_.web_address AS web_address_120, o3_.organization_type AS organization_type_121, o3_.non_profit_approved AS non_profit_approved_122, o3_.flight_simulator_status AS flight_simulator_status_123, o3_.org_theme_primary_color AS org_theme_primary_color_124, o3_.org_theme_secondary_color AS org_theme_secondary_color_125, o3_.org_theme_tertiary_color AS org_theme_tertiary_color_126, o3_.org_theme_background_color AS org_theme_background_color_127, o3_.org_theme_name AS org_theme_name_128, o3_.address1 AS address1_129, o3_.address2 AS address2_130, o3_.city AS city_131, o3_.state AS state_132, o3_.country AS country_133, o3_.zip AS zip_134, u4_.username AS username_135, u4_.username_canonical AS username_canonical_136, u4_.email AS email_137, u4_.email_canonical AS email_canonical_138, u4_.enabled AS enabled_139, u4_.salt AS salt_140, u4_.last_login AS last_login_141, u4_.confirmation_token AS confirmation_token_142, u4_.password_requested_at AS password_requested_at_143, u4_.roles AS roles_144, u4_.id AS id_145, u4_.fname AS fname_146, u4_.lname AS lname_147, u4_.phone AS phone_148, u4_.skip_mobile AS skip_mobile_149, u4_.sms_opt_in AS sms_opt_in_150, u4_.timezone AS timezone_151, u4_.user_allow_admin_update AS user_allow_admin_update_152, u4_.service_fee_type AS service_fee_type_153, u4_.notitication_preference AS notitication_preference_154, u4_.is_test AS is_test_155, u4_.email_optout AS email_optout_156, u4_.created_at AS created_at_157, u4_.modals AS modals_158, u4_.profile_update_dismissed_at AS profile_update_dismissed_at_159, u4_.has_logged_in AS has_logged_in_160, u4_.facebook_id AS facebook_id_161, u4_.facebook_access_token AS facebook_access_token_162, u4_.google_id AS google_id_163, u4_.nvidia_id AS nvidia_id_164, u4_.chg_id AS chg_id_165, u4_.use_fast_list AS use_fast_list_166, u4_.password AS password_167, u4_.address1 AS address1_168, u4_.address2 AS address2_169, u4_.city AS city_170, u4_.state AS state_171, u4_.country AS country_172, u4_.zip AS zip_173, r5_.id AS id_174, p6_.id AS id_175, p6_.amount AS amount_176, p6_.transaction_amount AS transaction_amount_177, p6_.tax_deduct_amount AS tax_deduct_amount_178, p6_.convenience_fee AS convenience_fee_179, p6_.service_fee AS service_fee_180, p6_.transaction_fee AS transaction_fee_181, p6_.expiration_date AS expiration_date_182, p6_.pickup_time AS pickup_time_183, p6_.external_payment AS external_payment_184, p6_.question_text AS question_text_185, p6_.question_answer AS question_answer_186, p6_.question_required AS question_required_187, p6_.date AS date_188, t7_.id AS id_189, t7_.amount AS amount_190, t7_.tax_deduct_amt AS tax_deduct_amt_191, t7_.transaction_fee AS transaction_fee_192, t7_.service_fee AS service_fee_193, t7_.service_fee_capped AS service_fee_capped_194, t7_.captured_transaction_fee AS captured_transaction_fee_195, t7_.user_paid_fee AS user_paid_fee_196, t7_.profit AS profit_197, t7_.balance AS balance_198, t7_.status AS status_199, t7_.service_fee_type AS service_fee_type_200, t7_.payout_eligible AS payout_eligible_201, t7_.total AS total_202, t7_.date AS date_203, t7_.check_number AS check_number_204, t7_.paypal_txn_id AS paypal_txn_id_205, t7_.payout_note AS payout_note_206, t7_.stripe_charge_id AS stripe_charge_id_207, t7_.authorization AS authorization_208, t7_.stripe_refund_id AS stripe_refund_id_209, t8_.id AS id_210, t8_.amount AS amount_211, t8_.tax_deduct_amt AS tax_deduct_amt_212, t8_.transaction_fee AS transaction_fee_213, t8_.service_fee AS service_fee_214, t8_.service_fee_capped AS service_fee_capped_215, t8_.captured_transaction_fee AS captured_transaction_fee_216, t8_.user_paid_fee AS user_paid_fee_217, t8_.profit AS profit_218, t8_.balance AS balance_219, t8_.status AS status_220, t8_.service_fee_type AS service_fee_type_221, t8_.payout_eligible AS payout_eligible_222, t8_.total AS total_223, t8_.date AS date_224, t8_.check_number AS check_number_225, t8_.paypal_txn_id AS paypal_txn_id_226, t8_.payout_note AS payout_note_227, t8_.stripe_charge_id AS stripe_charge_id_228, t8_.authorization AS authorization_229, t8_.stripe_refund_id AS stripe_refund_id_230, r0_.campaign_id AS campaign_id_231, r0_.user_id AS user_id_232, r0_.type_id AS type_id_233, r0_.purchase_id AS purchase_id_234, r1_.campaign_id AS campaign_id_235, c2_.organization_id AS organization_id_236, c2_.banner_image_id AS banner_image_id_237, c2_.logo_image_id AS logo_image_id_238, o3_.banner_image_id AS banner_image_id_239, o3_.logo_image_id AS logo_image_id_240, o3_.card_id AS card_id_241, o3_.twilio_account AS twilio_account_242, o3_.tax_certificate_id AS tax_certificate_id_243, u4_.user_terms_id AS user_terms_id_244, u4_.preferred_payment_gateway_id AS preferred_payment_gateway_id_245, u4_.last_visit_organization_id AS last_visit_organization_id_246, u4_.last_visit_campaign_id AS last_visit_campaign_id_247, r5_.raffle_item_id AS raffle_item_id_248, r5_.raffle_ticket_id AS raffle_ticket_id_249, p6_.type AS type_250, p6_.user_id AS user_id_251, p6_.campaign_id AS campaign_id_252, p6_.transaction_id AS transaction_id_253, p6_.refund_transaction_id AS refund_transaction_id_254, t7_.type AS type_255, t7_.user_id AS user_id_256, t7_.campaign_id AS campaign_id_257, t7_.refund_transaction_id AS refund_transaction_id_258, t8_.type AS type_259, t8_.user_id AS user_id_260, t8_.campaign_id AS campaign_id_261, t8_.refund_transaction_id AS refund_transaction_id_262 FROM raffle_tickets r0_ INNER JOIN raffle_types r1_ ON r0_.type_id = r1_.id INNER JOIN campaigns c2_ ON r0_.campaign_id = c2_.id INNER JOIN organizations o3_ ON c2_.organization_id = o3_.id INNER JOIN users u4_ ON r0_.user_id = u4_.id LEFT JOIN raffle_item_winning_tickets r5_ ON r0_.id = r5_.raffle_ticket_id LEFT JOIN purchases p6_ ON r0_.purchase_id = p6_.id AND p6_.type IN ('raffle_ticket') LEFT JOIN transactions t7_ ON p6_.transaction_id = t7_.id AND t7_.type IN ('cash', 'check', 'paypal', 'payout', 'stripe', 'external', 'offlinecreditcard', 'refund', 'stripe_refund', 'flight_simulator', '') LEFT JOIN transactions t8_ ON t7_.refund_transaction_id = t8_.id AND t8_.type IN ('cash', 'check', 'paypal', 'payout', 'stripe', 'external', 'offlinecreditcard', 'refund', 'stripe_refund', 'flight_simulator', '') INNER JOIN raffle_item_winning_tickets r9_ ON r0_.id = r9_.raffle_ticket_id WHERE r0_.campaign_id = ? ORDER BY r0_.type_id ASC
Parameters:
[
  1677
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

Class Mapping errors
Bidcoz\Bundle\CoreBundle\Entity\Theme
  • Embeddable 'Bidcoz\Bundle\CoreBundle\Entity\Theme' does not support associations
Bidcoz\Bundle\CoreBundle\Entity\Address No errors.
Bidcoz\Bundle\CoreBundle\Entity\Organization No errors.
Bidcoz\Bundle\CoreBundle\Entity\Image No errors.
Bidcoz\Bundle\CoreBundle\Entity\CreditCard No errors.
Bidcoz\Bundle\CoreBundle\Entity\TwilioAccount No errors.
Bidcoz\Bundle\CoreBundle\Entity\TaxCertificate No errors.
Bidcoz\Bundle\CoreBundle\Entity\VideoEmbed No errors.
Bidcoz\Bundle\CoreBundle\Entity\Campaign
  • The mappings Bidcoz\Bundle\CoreBundle\Entity\Campaign#cryptoWallets and Bidcoz\Bundle\CoreBundle\Entity\Donation\CryptoWallet#campaign are inconsistent with each other.
  • The field Bidcoz\Bundle\CoreBundle\Entity\Campaign#campaignDetails is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity Bidcoz\Bundle\CoreBundle\Entity\Contact\CampaignDetail#campaign does not contain the required 'inversedBy="campaignDetails"' attribute.
  • The field Bidcoz\Bundle\CoreBundle\Entity\Campaign#bidNumbers is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity Bidcoz\Bundle\CoreBundle\Entity\Auction\BidNumber#campaign does not contain the required 'inversedBy="bidNumbers"' attribute.
Bidcoz\Bundle\CoreBundle\Entity\PaymentGateway\Account\OrganizationAccount No errors.
Bidcoz\Bundle\CoreBundle\Entity\OrganizationAdmin No errors.
Bidcoz\Bundle\CoreBundle\Entity\Auction\Auction No errors.
Bidcoz\Bundle\CoreBundle\Entity\Auction\Shop No errors.
Bidcoz\Bundle\CoreBundle\Entity\Auction\FundANeed No errors.
Bidcoz\Bundle\CoreBundle\Entity\TwilioCampaign No errors.
Bidcoz\Bundle\CoreBundle\Entity\Auction\ItemCategory No errors.
Bidcoz\Bundle\CoreBundle\Entity\Auction\Item
  • The mappings Bidcoz\Bundle\CoreBundle\Entity\Auction\Item#purchases and Bidcoz\Bundle\CoreBundle\Entity\Purchase\ItemPurchase#item are inconsistent with each other.
Bidcoz\Bundle\CoreBundle\Entity\Sponsorship\Sponsorship No errors.
Bidcoz\Bundle\CoreBundle\Entity\Sponsorship\SponsorshipLevel No errors.
Bidcoz\Bundle\CoreBundle\Entity\Ticket\SeatingChartImage No errors.
Bidcoz\Bundle\CoreBundle\Entity\Ticket\Ticket No errors.
Bidcoz\Bundle\CoreBundle\Entity\Ticket\TicketType No errors.
Bidcoz\Bundle\CoreBundle\Entity\Registration\Registration No errors.
Bidcoz\Bundle\CoreBundle\Entity\Purchase\Purchase
  • The mappings Bidcoz\Bundle\CoreBundle\Entity\Purchase\Purchase#refundTransaction and Bidcoz\Bundle\CoreBundle\Entity\Transaction\RefundTransaction#purchases are inconsistent with each other.
Bidcoz\Bundle\CoreBundle\Entity\Transaction\Transaction No errors.
Bidcoz\Bundle\CoreBundle\Entity\Donation\CashDonation No errors.
Bidcoz\Bundle\CoreBundle\Entity\Donation\AbstractLevel No errors.
Bidcoz\Bundle\CoreBundle\Entity\Donation\DonationLevel No errors.
Bidcoz\Bundle\CoreBundle\Entity\Procurement\Item No errors.
Bidcoz\Bundle\CoreBundle\Entity\Donation\MembershipLevel No errors.
Bidcoz\Bundle\CoreBundle\Entity\Donation\CryptoWallet
  • The association Bidcoz\Bundle\CoreBundle\Entity\Donation\CryptoWallet#campaign refers to the inverse side field Bidcoz\Bundle\CoreBundle\Entity\Campaign#crypto_wallets which does not exist.
Bidcoz\Bundle\CoreBundle\Entity\Raffle\RaffleType No errors.
Bidcoz\Bundle\CoreBundle\Entity\Registration\RegistrationType No errors.
Bidcoz\Bundle\CoreBundle\Entity\Contact\CampaignDetail No errors.
Bidcoz\Bundle\CoreBundle\Entity\Auction\BidNumber No errors.
Bidcoz\Bundle\CoreBundle\Entity\Ticket\TicketGroup No errors.
Bidcoz\Bundle\CoreBundle\Entity\Email\Template No errors.
Bidcoz\Bundle\CoreBundle\Entity\Email\ItemTemplate No errors.
Bidcoz\Bundle\CoreBundle\Entity\Auction\WatchListItem No errors.
Bidcoz\Bundle\CoreBundle\Entity\Auction\Bid No errors.
Bidcoz\Bundle\CoreBundle\Entity\Purchase\ItemPurchase
  • The mappings Bidcoz\Bundle\CoreBundle\Entity\Purchase\ItemPurchase#refundTransaction and Bidcoz\Bundle\CoreBundle\Entity\Transaction\RefundTransaction#purchases are inconsistent with each other.
Bidcoz\Bundle\CoreBundle\Entity\Auction\ItemImage No errors.
Bidcoz\Bundle\CoreBundle\Entity\Email\Email No errors.
Bidcoz\Bundle\CoreBundle\Entity\Auction\AuctionVenue No errors.
Bidcoz\Bundle\CoreBundle\Entity\Purchase\BuyItNowItemPurchase
  • The mappings Bidcoz\Bundle\CoreBundle\Entity\Purchase\BuyItNowItemPurchase#refundTransaction and Bidcoz\Bundle\CoreBundle\Entity\Transaction\RefundTransaction#purchases are inconsistent with each other.
Bidcoz\Bundle\CoreBundle\Entity\Purchase\DonationItemPurchase
  • The mappings Bidcoz\Bundle\CoreBundle\Entity\Purchase\DonationItemPurchase#refundTransaction and Bidcoz\Bundle\CoreBundle\Entity\Transaction\RefundTransaction#purchases are inconsistent with each other.
Bidcoz\Bundle\CoreBundle\Entity\Transaction\CashTransaction No errors.
Bidcoz\Bundle\CoreBundle\Entity\Transaction\CheckTransaction No errors.
Bidcoz\Bundle\CoreBundle\Entity\Transaction\CreditTransaction No errors.
Bidcoz\Bundle\CoreBundle\Entity\Transaction\PayPalTransaction No errors.
Bidcoz\Bundle\CoreBundle\Entity\Transaction\PayoutTransaction No errors.
Bidcoz\Bundle\CoreBundle\Entity\Transaction\StripeTransaction No errors.
Bidcoz\Bundle\CoreBundle\Entity\Transaction\ExternalTransaction No errors.
Bidcoz\Bundle\CoreBundle\Entity\Transaction\OfflineCreditCardTransaction No errors.
Bidcoz\Bundle\CoreBundle\Entity\Transaction\RefundTransaction No errors.
Bidcoz\Bundle\CoreBundle\Entity\Transaction\StripeRefundTransaction No errors.
Bidcoz\Bundle\CoreBundle\Entity\Transaction\FlightSimulatorTransaction No errors.
Bidcoz\Bundle\CoreBundle\Entity\Auction\ItemType No errors.
Bidcoz\Bundle\CoreBundle\Entity\Auction\ItemSaleType No errors.
Bidcoz\Bundle\CoreBundle\Entity\Auction\ItemCondition No errors.
FOS\UserBundle\Model\User No errors.
Bidcoz\Bundle\CoreBundle\Entity\User
  • The field Bidcoz\Bundle\CoreBundle\Entity\User#companyMembers is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity Bidcoz\Bundle\CoreBundle\Entity\Contact\CompanyMember#user does not contain the required 'inversedBy="companyMembers"' attribute.
Bidcoz\Bundle\CoreBundle\Entity\Contact\Company No errors.
Bidcoz\Bundle\CoreBundle\Entity\Raffle\RaffleTicket No errors.
Bidcoz\Bundle\CoreBundle\Entity\Raffle\RaffleItemWinningTicket No errors.
Bidcoz\Bundle\CoreBundle\Entity\Purchase\RaffleTicketPurchase
  • The mappings Bidcoz\Bundle\CoreBundle\Entity\Purchase\RaffleTicketPurchase#refundTransaction and Bidcoz\Bundle\CoreBundle\Entity\Transaction\RefundTransaction#purchases are inconsistent with each other.
Bidcoz\Bundle\CoreBundle\Entity\Terms\Terms No errors.
Bidcoz\Bundle\CoreBundle\Entity\Terms\UserTerms No errors.
Bidcoz\Bundle\CoreBundle\Entity\PaymentGateway\PaymentGateway No errors.
Bidcoz\Bundle\CoreBundle\Entity\Raffle\RaffleItem No errors.