https://vlad-mehanik.ru/order/payments_elements?from=2025-06-05&queryUserId=&to=2025-06-05

Query Metrics

113 Database Queries
10 Different statements
25.37 ms Query time
8 Invalid entities

Grouped Statements

Show all queries

Time Count Info
5.32 ms
(20.97%)
19
SELECT t0.article_search AS article_search_1, t0.article_original AS article_original_2, t0.description AS description_3, t0.id AS id_4, t0.brand_id AS brand_id_5, t6.place AS place_7, t6.id AS id_8, t6.product_id AS product_id_9 FROM products__products t0 LEFT JOIN storages__storages t6 ON t6.product_id = t0.id WHERE t0.id = ?
Parameters:
[
  126411
]
3.83 ms
(15.09%)
17
SELECT t0.price AS price_1, t0.multiplicity AS multiplicity_2, t0.vendor_id AS vendor_id_3, t0.id AS id_4, t0.updated AS updated_5, t0.product_id AS product_id_6, t0.supplier_id AS supplier_id_7 FROM suppliers__items t0 WHERE t0.id = ?
Parameters:
[
  5018
]
3.66 ms
(14.45%)
17
SELECT t0.stock AS stock_1, t0.show_in_search AS show_in_search_2, t0.parsing_task AS parsing_task_3, t0.id AS id_4, t0.updated AS updated_5, t0.item_id AS item_id_6, t0.warehouse_id AS warehouse_id_7 FROM suppliers__warehouses_items t0 WHERE t0.id = ?
Parameters:
[
  6221
]
3.44 ms
(13.54%)
12
SELECT t0.name AS name_1, t0.legal_name AS legal_name_2, t0.car_manufacturer AS car_manufacturer_3, t0.slug AS slug_4, t0.id AS id_5 FROM brands__brands t0 WHERE t0.id = ?
Parameters:
[
  1386
]
2.92 ms
(11.50%)
19
SELECT t0.created_at AS created_at_1, t0.quantity AS quantity_2, t0.price AS price_3, t0.crm_spare_id AS crm_spare_id_4, t0.id AS id_5, t0.order_id AS order_id_6, t0.item_id AS item_id_7, t0.searcher_user_id AS searcher_user_id_8, t0.supplier_item_id AS supplier_item_id_9 FROM orders__elements t0 WHERE t0.id = ?
Parameters:
[
  6331
]
2.79 ms
(10.99%)
11
SELECT t0.created_at AS created_at_1, t0.crm_order_id AS crm_order_id_2, t0.first_name AS first_name_3, t0.last_name AS last_name_4, t0.father_name AS father_name_5, t0.phone AS phone_6, t0.delivery_type AS delivery_type_7, t0.town AS town_8, t0.postcode AS postcode_9, t0.street AS street_10, t0.house AS house_11, t0.apartment AS apartment_12, t0.longitude AS longitude_13, t0.latitude AS latitude_14, t0.payment_type AS payment_type_15, t0.comment AS comment_16, t0.hash AS hash_17, t0.confirmed_date AS confirmed_date_18, t0.collected_date AS collected_date_19, t0.issued_date AS issued_date_20, t0.canceled_date AS canceled_date_21, t0.id AS id_22, t0.user_id AS user_id_23, t0.transport_company_id AS transport_company_id_24 FROM orders__orders t0 WHERE t0.id = ?
Parameters:
[
  3728
]
1.64 ms
(6.47%)
4
SELECT t0.created_at AS created_at_1, t0.phone AS phone_2, t0.password AS password_3, t0.deprecated_user_id AS deprecated_user_id_4, t0.cookie AS cookie_5, t0.id AS id_6, t7.created_at AS created_at_8, t7.guest_id AS guest_id_9, t7.first_name AS first_name_10, t7.last_name AS last_name_11, t7.father_name AS father_name_12, t7.phone AS phone_13, t7.delivery_type AS delivery_type_14, t7.town AS town_15, t7.postcode AS postcode_16, t7.street AS street_17, t7.house AS house_18, t7.apartment AS apartment_19, t7.longitude AS longitude_20, t7.latitude AS latitude_21, t7.payment_type AS payment_type_22, t7.comment AS comment_23, t7.id AS id_24, t7.user_id AS user_id_25, t7.transport_company_id AS transport_company_id_26, t27.created_at AS created_at_28, t27.visible AS visible_29, t27.first_name AS first_name_30, t27.last_name AS last_name_31, t27.father_name AS father_name_32, t27.mango_extension_number AS mango_extension_number_33, t27.id AS id_34, t27.user_id AS user_id_35 FROM users__users t0 LEFT JOIN carts__carts t7 ON t7.user_id = t0.id LEFT JOIN managers t27 ON t27.user_id = t0.id WHERE t0.id = ?
Parameters:
[
  0
]
1.31 ms
(5.16%)
11
SELECT t0.created_at AS created_at_1, t0.type AS type_2, t0.amount AS amount_3, t0.id AS id_4, t0.order_id AS order_id_5 FROM orders__payments t0 WHERE t0.id = ?
Parameters:
[
  2485
]
0.25 ms
(0.98%)
2
SELECT t0.stock AS stock_1, t0.price AS price_2, t0.show_in_search AS show_in_search_3, t0.id AS id_4, t0.updated AS updated_5, t0.product_id AS product_id_6, t0.warehouse_id AS warehouse_id_7 FROM products__items t0 WHERE t0.id = ?
Parameters:
[
  4665
]
0.22 ms
(0.85%)
1
SELECT o0_.created_at AS created_at_0, o0_.price AS price_1, o0_.reward_margin AS reward_margin_2, o0_.id AS id_3, o0_.payment_order_id AS payment_order_id_4, o0_.order_element_id AS order_element_id_5 FROM orders__elements_payments o0_ INNER JOIN orders__elements o1_ ON o0_.order_element_id = o1_.id WHERE o0_.created_at >= '2025-06-05 00:00:00' AND o0_.created_at <= '2025-06-05 23:59:59' ORDER BY o0_.created_at ASC
Parameters:
[]

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\Entity\User
  • The field App\Entity\User#roles is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\UserRole#user does not contain the required 'inversedBy="roles"' attribute.
  • The field App\Entity\User#manager is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Manager#user does not contain the required 'inversedBy="manager"' attribute.
App\Entity\Cart
  • The field App\Entity\Cart#elements is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\CartElement#cart does not contain the required 'inversedBy="elements"' attribute.
App\Entity\TransportCompany No errors.
App\Entity\Manager No errors.
App\Entity\PaymentOrderElement No errors.
App\Entity\OrderElement
  • The field App\Entity\OrderElement#itemTransactions is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\ItemTransaction#orderElement does not contain the required 'inversedBy="itemTransactions"' attribute.
  • The field App\Entity\OrderElement#payments is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\PaymentOrderElement#orderElement does not contain the required 'inversedBy="payments"' attribute.
App\Entity\PaymentOrder No errors.
App\Entity\Order
  • The field App\Entity\Order#elements is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\OrderElement#order does not contain the required 'inversedBy="elements"' attribute.
  • The field App\Entity\Order#sberbankAcquiringOrders is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\SberbankAcquiringOrder#order does not contain the required 'inversedBy="sberbankAcquiringOrders"' attribute.
App\Entity\Item No errors.
App\Entity\SupplierWarehouseItem No errors.
App\Entity\ItemTransaction No errors.
App\Entity\SupplierItem
  • The field App\Entity\SupplierItem#supplierWarehouseItems is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\SupplierWarehouseItem#item does not contain the required 'inversedBy="supplierWarehouseItems"' attribute.
App\Entity\SupplierWarehouse No errors.
App\Entity\Product
  • The field App\Entity\Product#supplierItems is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\SupplierItem#product does not contain the required 'inversedBy="supplierItems"' attribute.
  • The field App\Entity\Product#images is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\ProductImage#product does not contain the required 'inversedBy="images"' attribute.
  • The field App\Entity\Product#storage is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Storage#product does not contain the required 'inversedBy="storage"' attribute.
App\Entity\Supplier
  • The field App\Entity\Supplier#supplierMarkup is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\SupplierMarkup#supplier does not contain the required 'inversedBy="supplierMarkup"' attribute.
  • The field App\Entity\Supplier#supplierWarehouses is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\SupplierWarehouse#supplier does not contain the required 'inversedBy="supplierWarehouses"' attribute.
  • The field App\Entity\Supplier#supplierBrandsDiscount is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\SupplierBrandDiscount#supplier does not contain the required 'inversedBy="supplierBrandsDiscount"' attribute.
  • The field App\Entity\Supplier#supplierMarkupRanges is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\SupplierMarkupRange#supplier does not contain the required 'inversedBy="supplierMarkupRanges"' attribute.
App\Entity\SberbankAcquiringOrder No errors.
App\Entity\UserRole No errors.
App\Entity\CartElement No errors.
App\Entity\Brand
  • The field App\Entity\Brand#aliases is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\BrandAlias#brand does not contain the required 'inversedBy="aliases"' attribute.
App\Entity\Storage No errors.
App\Entity\ProductImage No errors.
App\Entity\Analog No errors.
App\Entity\BrandAlias No errors.
App\Entity\Warehouse No errors.