GET https://azima24.com/api/promotionsgoods

Query Metrics

2 Database Queries
2 Different statements
1.79 ms Query time
1 Invalid entities
35 Managed entities

Queries

Group similar statements

# Time Info
1 1.07 ms
SELECT p0_.id AS id_0, p0_.required_products_for_free AS required_products_for_free_1, p0_.number_good_free AS number_good_free_2, p0_.unite AS unite_3, p0_.unity_free AS unity_free_4, p0_.date AS date_5, p0_.date_fin AS date_fin_6, p0_.status AS status_7, g1_.id AS id_8, g1_.brand AS brand_9, g1_.pricectns AS pricectns_10, g1_.pricebox AS pricebox_11, g1_.pricebottle AS pricebottle_12, g1_.priceitem AS priceitem_13, g1_.pricesac AS pricesac_14, g2_.id AS id_15, g2_.brand AS brand_16, g2_.pricectns AS pricectns_17, g2_.pricebox AS pricebox_18, g2_.pricebottle AS pricebottle_19, g2_.priceitem AS priceitem_20, g2_.pricesac AS pricesac_21, p0_.good_id AS good_id_22, p0_.good_free_id AS good_free_id_23 FROM promotion p0_ LEFT JOIN goods g1_ ON p0_.good_id = g1_.id LEFT JOIN goods g2_ ON p0_.good_free_id = g2_.id WHERE p0_.status = 1 AND (p0_.date_fin IS NULL OR p0_.date <= CURRENT_TIMESTAMP) ORDER BY p0_.date DESC
Parameters:
[]
2 0.72 ms
SELECT t0.id AS id_1, t0.username AS username_2, t0.roles AS roles_3, t0.password AS password_4, t0.email AS email_5, t0.contact AS contact_6, t0.city AS city_7 FROM user t0 WHERE t0.id = ?
Parameters:
[
  22
]

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\Promotion 23
App\Entity\Goods 11
App\Entity\User 1

Entities Mapping

Class Mapping errors
App\Entity\Promotion No errors.
App\Entity\Goods No errors.
App\Entity\PromotionInvoice
  • The association App\Entity\PromotionInvoice#brand refers to the inverse side field App\Entity\Goods#promotionInvoices which does not exist.
App\Entity\Purchase No errors.
App\Entity\Inventory No errors.
App\Entity\MvtStock No errors.
App\Entity\User No errors.
App\Entity\SalesMen No errors.