GET https://www.marketplace.makhabs.online/public/vendor/5

Query Metrics

17 Database Queries
8 Different statements
3.33 ms Query time
0 Invalid entities
36 Managed entities

Queries

Group similar statements

# Time Info
1 0.32 ms
SELECT t0.id AS id_1, t0.store_name AS store_name_2, t0.store_logo AS store_logo_3, t0.description AS description_4, t0.status AS status_5, t0.commission_rate AS commission_rate_6, t0.balance AS balance_7, t0.created_at AS created_at_8, t0.approved_at AS approved_at_9, t0.bank_details AS bank_details_10, t0.documents AS documents_11, t0.settings AS settings_12, t0.total_sales AS total_sales_13, t0.total_orders AS total_orders_14, t0.user_id AS user_id_15 FROM vendors t0 WHERE t0.id = ?
Parameters:
[
  5
]
2 0.35 ms
SELECT p0_.id AS id_0, p0_.name AS name_1, p0_.description AS description_2, p0_.price AS price_3, p0_.compare_at_price AS compare_at_price_4, p0_.stock AS stock_5, p0_.sku AS sku_6, p0_.slug AS slug_7, p0_.type AS type_8, p0_.images AS images_9, p0_.attributes AS attributes_10, p0_.is_active AS is_active_11, p0_.is_approved AS is_approved_12, p0_.created_at AS created_at_13, p0_.updated_at AS updated_at_14, p0_.approved_at AS approved_at_15, p0_.category_id AS category_id_16, p0_.vendor_id AS vendor_id_17, p0_.approved_by AS approved_by_18 FROM products p0_ WHERE p0_.vendor_id = ? ORDER BY p0_.created_at DESC LIMIT 20
Parameters:
[
  5
]
3 0.20 ms
SELECT COUNT(p0_.id) AS sclr_0 FROM products p0_ WHERE p0_.vendor_id = ?
Parameters:
[
  5
]
4 0.19 ms
SELECT COUNT(p0_.id) AS sclr_0 FROM products p0_ WHERE p0_.vendor_id = ? AND p0_.is_active = 1
Parameters:
[
  5
]
5 0.17 ms
SELECT COUNT(p0_.id) AS sclr_0 FROM products p0_ WHERE p0_.vendor_id = ? AND p0_.is_active = 0
Parameters:
[
  5
]
6 0.17 ms
SELECT COUNT(p0_.id) AS sclr_0 FROM products p0_ WHERE p0_.vendor_id = ? AND p0_.stock = 0
Parameters:
[
  5
]
7 0.17 ms
SELECT COUNT(p0_.id) AS sclr_0 FROM products p0_ WHERE p0_.vendor_id = ? AND p0_.stock > 0 AND p0_.stock <= 5
Parameters:
[
  5
]
8 0.20 ms
SELECT t0.id AS id_1, t0.rating AS rating_2, t0.comment AS comment_3, t0.is_verified AS is_verified_4, t0.created_at AS created_at_5, t0.product_id AS product_id_6, t0.user_id AS user_id_7 FROM product_reviews t0 WHERE t0.product_id = ?
Parameters:
[
  34
]
9 0.18 ms
SELECT t0.id AS id_1, t0.rating AS rating_2, t0.comment AS comment_3, t0.is_verified AS is_verified_4, t0.created_at AS created_at_5, t0.product_id AS product_id_6, t0.user_id AS user_id_7 FROM product_reviews t0 WHERE t0.product_id = ?
Parameters:
[
  12
]
10 0.18 ms
SELECT t0.id AS id_1, t0.rating AS rating_2, t0.comment AS comment_3, t0.is_verified AS is_verified_4, t0.created_at AS created_at_5, t0.product_id AS product_id_6, t0.user_id AS user_id_7 FROM product_reviews t0 WHERE t0.product_id = ?
Parameters:
[
  24
]
11 0.17 ms
SELECT t0.id AS id_1, t0.rating AS rating_2, t0.comment AS comment_3, t0.is_verified AS is_verified_4, t0.created_at AS created_at_5, t0.product_id AS product_id_6, t0.user_id AS user_id_7 FROM product_reviews t0 WHERE t0.product_id = ?
Parameters:
[
  37
]
12 0.20 ms
SELECT t0.id AS id_1, t0.rating AS rating_2, t0.comment AS comment_3, t0.is_verified AS is_verified_4, t0.created_at AS created_at_5, t0.product_id AS product_id_6, t0.user_id AS user_id_7 FROM product_reviews t0 WHERE t0.product_id = ?
Parameters:
[
  17
]
13 0.17 ms
SELECT t0.id AS id_1, t0.rating AS rating_2, t0.comment AS comment_3, t0.is_verified AS is_verified_4, t0.created_at AS created_at_5, t0.product_id AS product_id_6, t0.user_id AS user_id_7 FROM product_reviews t0 WHERE t0.product_id = ?
Parameters:
[
  11
]
14 0.16 ms
SELECT t0.id AS id_1, t0.rating AS rating_2, t0.comment AS comment_3, t0.is_verified AS is_verified_4, t0.created_at AS created_at_5, t0.product_id AS product_id_6, t0.user_id AS user_id_7 FROM product_reviews t0 WHERE t0.product_id = ?
Parameters:
[
  28
]
15 0.16 ms
SELECT t0.id AS id_1, t0.rating AS rating_2, t0.comment AS comment_3, t0.is_verified AS is_verified_4, t0.created_at AS created_at_5, t0.product_id AS product_id_6, t0.user_id AS user_id_7 FROM product_reviews t0 WHERE t0.product_id = ?
Parameters:
[
  35
]
16 0.17 ms
SELECT t0.id AS id_1, t0.rating AS rating_2, t0.comment AS comment_3, t0.is_verified AS is_verified_4, t0.created_at AS created_at_5, t0.product_id AS product_id_6, t0.user_id AS user_id_7 FROM product_reviews t0 WHERE t0.product_id = ?
Parameters:
[
  25
]
17 0.16 ms
SELECT t0.id AS id_1, t0.rating AS rating_2, t0.comment AS comment_3, t0.is_verified AS is_verified_4, t0.created_at AS created_at_5, t0.product_id AS product_id_6, t0.user_id AS user_id_7 FROM product_reviews t0 WHERE t0.product_id = ?
Parameters:
[
  15
]

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.

Managed Entities

default entity manager

Class Amount of managed objects
App\Entity\Product 10
App\Entity\ProductReview 10
App\Entity\User 9
App\Entity\Category 6
App\Entity\Vendor 1

Entities Mapping

Class Mapping errors
App\Entity\Vendor No errors.
App\Entity\User No errors.
App\Entity\Product No errors.
App\Entity\VendorPayout No errors.
App\Entity\Category No errors.
App\Entity\ProductReview No errors.
App\Entity\CartItem No errors.
App\Entity\OrderItem No errors.