GET http://lasalleerp.com/api/visit-customer?customerId=2102

Query Metrics

6 Database Queries
6 Different statements
8.77 ms Query time
11 Invalid entities

Queries

Group similar statements

# Time Info
1 1.32 ms
SELECT t0.id AS id_1, t0.description AS description_2, t0.email AS email_3, t0.created_at AS created_at_4, t0.first_name AS first_name_5, t0.last_name AS last_name_6, t0.address AS address_7, t0.city AS city_8, t0.phone AS phone_9, t0.company_name AS company_name_10, t0.address_indication AS address_indication_11, t0.country AS country_12, t0.post_code AS post_code_13, t0.gender AS gender_14, t0.date_of_birth AS date_of_birth_15, t0.sponsorship_code AS sponsorship_code_16, t0.image AS image_17, t0.can_receive_mails AS can_receive_mails_18, t0.can_receive_sms AS can_receive_sms_19, t0.blind_password AS blind_password_20, t0.deleted_at AS deleted_at_21, t0.collect_address AS collect_address_22, t0.shipping_address AS shipping_address_23, t0.collect_lat AS collect_lat_24, t0.collect_lng AS collect_lng_25, t0.shipping_lng AS shipping_lng_26, t0.code AS code_27, t0.reference AS reference_28, t0.identity_number AS identity_number_29, t0.is_actif AS is_actif_30, t0.customer_group_id AS customer_group_id_31, t0.user_id AS user_id_32, t0.vendor_id AS vendor_id_33, t0.city_region_id AS city_region_id_34, t0.store_id AS store_id_35 FROM customer t0 WHERE t0.id = ? AND ((t0.deleted_at IS NULL))
Parameters:
[
  2102
]
2 1.21 ms
SELECT t0.id AS id_2, t0.created_at AS created_at_3, t0.description AS description_4, t0.first_name AS first_name_5, t0.last_name AS last_name_6, t0.company_name AS company_name_7, t0.address AS address_8, t0.city AS city_9, t0.country AS country_10, t0.department AS department_11, t0.postcode AS postcode_12, t0.email AS email_13, t0.tel AS tel_14, t0.comment AS comment_15, t0.status AS status_16, t0.source AS source_17, t0.delivery_at AS delivery_at_18, t0.recovery_at AS recovery_at_19, t0.old_order_number AS old_order_number_20, t0.reduction AS reduction_21, t0.distance AS distance_22, t0.payed_amount AS payed_amount_23, t0.start_processing_at AS start_processing_at_24, t0.delivery_type AS delivery_type_25, t0.start_delivery_at AS start_delivery_at_26, t0.is_to_do AS is_to_do_27, t0.collect_address AS collect_address_28, t0.shipping_address AS shipping_address_29, t0.collect_tel AS collect_tel_30, t0.is_heavy AS is_heavy_31, t0.shipping_tips AS shipping_tips_32, t0.wallet_payment_amount AS wallet_payment_amount_33, t0.is_checked AS is_checked_34, t0.token_stripe AS token_stripe_35, t0.order_type AS order_type_36, t0.deleted_at AS deleted_at_37, t0.created_by AS created_by_38, t0.reference AS reference_39, t0.customer_id AS customer_id_40, t0.demande_fund_id AS demande_fund_id_41, t0.shipping_method_id AS shipping_method_id_42, t0.agent_id AS agent_id_43, t0.payment_method_id AS payment_method_id_44, t0.coupon_id AS coupon_id_45, t0.agent_to_do_id AS agent_to_do_id_46, t0.city_region_shipping_id AS city_region_shipping_id_47, t0.city_region_collect_id AS city_region_collect_id_48, t0.vendor_id AS vendor_id_49, t0.store_id AS store_id_50, t0.shipment_id AS shipment_id_51, t0.invoice_id AS invoice_id_52, t0.cash_box_order_id AS cash_box_order_id_53, t0.dtype, t1.type AS type_54 FROM `order` t0 LEFT JOIN document t1 ON t0.id = t1.id WHERE t0.customer_id = ? AND ((t0.deleted_at IS NULL)) LIMIT 1
Parameters:
[
  2102
]
3 2.56 ms
SELECT t0.id AS id_1, t0.start_at AS start_at_2, t0.end_at AS end_at_3, t0.description AS description_4, t0.status AS status_5, t0.created_at AS created_at_6, t0.product_id AS product_id_7, t0.customer_id AS customer_id_8, t0.order_item_id AS order_item_id_9 FROM product_subscription t0 WHERE t0.customer_id = ?
Parameters:
[
  2102
]
4 1.21 ms
SELECT t0.id AS id_3, t0.name AS name_4, t0.image AS image_5, t0.price AS price_6, t0.description AS description_7, t0.old_price AS old_price_8, t0.quantity AS quantity_9, t0.product_type AS product_type_10, t0.meta_title AS meta_title_11, t0.meta_description AS meta_description_12, t0.meta_keywords AS meta_keywords_13, t0.slug AS slug_14, t0.created_at AS created_at_15, t0.is_price_reduced_per_percent AS is_price_reduced_per_percent_16, t0.percent_reduction AS percent_reduction_17, t0.sku_code AS sku_code_18, t0.short_description AS short_description_19, t0.is_published AS is_published_20, t0.sku_code_shop AS sku_code_shop_21, t0.end_at AS end_at_22, t0.type_reduction AS type_reduction_23, t0.value_reduction AS value_reduction_24, t0.subscription_monthly_price AS subscription_monthly_price_25, t0.subscription_yearly_price AS subscription_yearly_price_26, t0.deleted_at AS deleted_at_27, t0.label_price_from AS label_price_from_28, t0.subscription_duration AS subscription_duration_29, t0.promotion_id AS promotion_id_30, t0.vendor_id AS vendor_id_31, t0.brand_id AS brand_id_32, t0.parent_category_id AS parent_category_id_33, t0.cloned_product_id AS cloned_product_id_34, t0.store_id AS store_id_35, t0.dtype, t1.regular_price AS regular_price_36 FROM product t0 LEFT JOIN article t1 ON t0.id = t1.id LEFT JOIN shop_product t2 ON t0.id = t2.id WHERE t0.id = ? AND ((t0.deleted_at IS NULL))
Parameters:
[
  3
]
5 1.35 ms
SELECT t0.id AS id_2, t0.created_at AS created_at_3, t0.description AS description_4, t0.quantity AS quantity_5, t0.price AS price_6, t0.reduction AS reduction_7, t0.product_id AS product_id_8, t0.parent_order_id AS parent_order_id_9, t0.pack_engagement_id AS pack_engagement_id_10, t0.shipment_item_id AS shipment_item_id_11, t0.dtype, t1.movement_type AS movement_type_12, t1.movement_objectif AS movement_objectif_13, t1.article_id AS article_id_14, t1.document_id AS document_id_15 FROM order_item t0 LEFT JOIN stock t1 ON t0.id = t1.id WHERE t0.id = ?
Parameters:
[
  3737
]
6 1.10 ms
SELECT t0.id AS id_1, t0.is_monday AS is_monday_2, t0.is_tuesday AS is_tuesday_3, t0.is_wednesday AS is_wednesday_4, t0.is_thursday AS is_thursday_5, t0.is_friday AS is_friday_6, t0.is_saturday AS is_saturday_7, t0.is_sunday AS is_sunday_8, t0.start_work_at AS start_work_at_9, t0.end_work_at AS end_work_at_10, t0.exclude_days AS exclude_days_11, t0.exclude_dates AS exclude_dates_12, t0.exclude_hours AS exclude_hours_13, t0.logo AS logo_14, t0.logo_base64 AS logo_base64_15, t0.favicon AS favicon_16, t0.email AS email_17, t0.address AS address_18, t0.currency AS currency_19, t0.default_lang AS default_lang_20, t0.project_name AS project_name_21, t0.code AS code_22, t0.asset_folder_name AS asset_folder_name_23, t0.mail_order_created_body AS mail_order_created_body_24, t0.mail_order_created_title AS mail_order_created_title_25, t0.prefix_order AS prefix_order_26, t0.root_url AS root_url_27, t0.description AS description_28, t0.is_mercure_enabled AS is_mercure_enabled_29, t0.front_theme_id AS front_theme_id_30 FROM settings t0 WHERE t0.code = ? LIMIT 1
Parameters:
[
  "main"
]

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
App\Flexy\ShopBundle\Entity\Customer\Customer No errors.
App\Flexy\ShopBundle\Entity\Customer\CustomerGroup No errors.
App\Entity\User No errors.
App\Flexy\ShopBundle\Entity\Vendor\Vendor No errors.
App\Flexy\ShopBundle\Entity\Shipping\CityRegion
  • The association App\Flexy\ShopBundle\Entity\Shipping\CityRegion#orders refers to the owning side field App\Flexy\ShopBundle\Entity\Order\Order#cityRegion which does not exist.
  • The association App\Flexy\ShopBundle\Entity\Shipping\CityRegion#stores refers to the owning side field App\Flexy\ShopBundle\Entity\Store\Store#�cityRegion which does not exist.
App\Flexy\ShopBundle\Entity\Store\Store
  • The mappings App\Flexy\ShopBundle\Entity\Store\Store#cityRegion and App\Flexy\ShopBundle\Entity\Shipping\CityRegion#stores are inconsistent with each other.
App\Flexy\ShopBundle\Entity\Order\Order
  • The mappings App\Flexy\ShopBundle\Entity\Order\Order#cityRegionShipping and App\Flexy\ShopBundle\Entity\Shipping\CityRegion#orders are inconsistent with each other.
App\Flexy\ShopBundle\Entity\Product\Comment No errors.
App\Flexy\ShopBundle\Entity\Customer\CustomerAddress No errors.
App\Flexy\ShopBundle\Entity\Customer\CustomerWalletPoint
  • The mappings App\Flexy\ShopBundle\Entity\Customer\CustomerWalletPoint#originInvoice and App\Flexy\ShopBundle\Entity\Accounting\Invoice#customerWalletPoints are inconsistent with each other.
App\Flexy\ShopBundle\Entity\Customer\PackEngagement No errors.
App\Flexy\ShopBundle\Entity\Promotion\Coupon No errors.
App\Flexy\ShopBundle\Entity\Shipping\Shipment No errors.
App\Flexy\ShopBundle\Entity\Payment\BankBookItem No errors.
App\Flexy\ShopBundle\Entity\Shipping\CashOnDelivery No errors.
App\Flexy\ShopBundle\Entity\Product\ProductSubscription No errors.
App\Flexy\ShopBundle\Entity\Accounting\Invoice
  • The association App\Flexy\ShopBundle\Entity\Accounting\Invoice#customerWalletPoints refers to the owning side field App\Flexy\ShopBundle\Entity\Customer\CustomerWalletPoint#invoice which does not exist.
App\Flexy\ShopBundle\Entity\Customer\Complaint No errors.
App\Flexy\ShopBundle\Entity\Customer\Visit No errors.
App\Flexy\StockBundle\Entity\Document
  • The mappings App\Flexy\StockBundle\Entity\Document#cityRegionShipping and App\Flexy\ShopBundle\Entity\Shipping\CityRegion#orders are inconsistent with each other.
App\Flexy\ShopBundle\Entity\Order\DemandeFund No errors.
App\Flexy\ShopBundle\Entity\Shipping\ShippingMethod No errors.
App\Flexy\ShopBundle\Entity\Resource\Agent
  • The association App\Flexy\ShopBundle\Entity\Resource\Agent#agentObjective refers to the inverse side field App\Flexy\ShopBundle\Entity\Resource\AgentObjective#agent which does not exist.
App\Flexy\ShopBundle\Entity\Payment\PaymentMethod No errors.
App\Flexy\ShopBundle\Entity\Order\CashBoxOrder No errors.
App\Flexy\ShopBundle\Entity\Order\OrderItem No errors.
App\Flexy\ShopBundle\Entity\Order\Adjustment No errors.
App\Flexy\ShopBundle\Entity\Payment\Payment No errors.
App\Flexy\ShopBundle\Entity\Product\Product
  • The mappings App\Flexy\ShopBundle\Entity\Product\Product#childrenProductsPack and App\Flexy\ShopBundle\Entity\Product\ProductPack#parentProduct are inconsistent with each other.
App\Flexy\StockBundle\Entity\Article
  • The mappings App\Flexy\StockBundle\Entity\Article#childrenProductsPack and App\Flexy\ShopBundle\Entity\Product\ProductPack#parentProduct are inconsistent with each other.
App\Flexy\ShopBundle\Entity\Product\ProductShop
  • The mappings App\Flexy\ShopBundle\Entity\Product\ProductShop#childrenProductsPack and App\Flexy\ShopBundle\Entity\Product\ProductPack#parentProduct are inconsistent with each other.
App\Flexy\ShopBundle\Entity\Promotion\Promotion No errors.
App\Flexy\ShopBundle\Entity\Brand No errors.
App\Flexy\ShopBundle\Entity\Product\CategoryProduct No errors.
App\Flexy\ShopBundle\Entity\Product\AttributValue No errors.
App\Flexy\ShopBundle\Entity\Product\ImageProduct No errors.
App\Flexy\ShopBundle\Entity\Product\ProductVariant No errors.
App\Flexy\ShopBundle\Entity\Product\ProductPack
  • The association App\Flexy\ShopBundle\Entity\Product\ProductPack#parentProduct refers to the inverse side field App\Flexy\ShopBundle\Entity\Product\Product#childrenPackProducts which does not exist.
App\Flexy\StockBundle\Entity\Stock No errors.
App\Flexy\ShopBundle\Entity\Shipping\ShipmentItem No errors.
App\Flexy\ShopBundle\Entity\Order\OrderItemNote No errors.
App\Entity\Settings No errors.
App\Entity\FrontTheme No errors.