GET http://82.66.25.12:8081/deal/37

Query Metrics

5 Database Queries
4 Different statements
2.31 ms Query time
4 Invalid entities

Grouped Statements

Show all queries

Time Count Info
0.72 ms
(31.42%)
1
SELECT t0.id AS id_1, t0.title AS title_2, t0.description AS description_3, t0.initialprice AS initialprice_4, t0.reduceprice AS reduceprice_5, t0.publicationdate AS publicationdate_6, t0.link AS link_7, t0.delivery AS delivery_8, t0.image_filename AS image_filename_9, t0.is_active AS is_active_10, t0.is_published AS is_published_11, t0.user_id AS user_id_12 FROM deal t0 WHERE t0.id = ?
Parameters:
[
  "37"
]
0.59 ms
(25.71%)
2
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  37
  "upvote"
]
0.51 ms
(22.33%)
1
SELECT t0.id AS id_1, t0.content AS content_2, t0.comment_time AS comment_time_3, t0.user_id AS user_id_4, t0.deal_id AS deal_id_5, t0.parent_id AS parent_id_6 FROM COMMENT t0 WHERE t0.deal_id = ? AND t0.parent_id IS NULL
Parameters:
[
  37
]
0.47 ms
(20.55%)
1
SELECT t0.id AS id_1, t0.name_category AS name_category_2, t0.categories_id AS categories_id_3 FROM category t0 INNER JOIN deal_category ON t0.id = deal_category.category_id WHERE deal_category.deal_id = ?
Parameters:
[
  37
]

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\Deal
  • The mappings App\Entity\Deal#user and App\Entity\User#deals are inconsistent with each other.
App\Entity\User
  • The association App\Entity\User#deals refers to the owning side field App\Entity\Deal#idUser which does not exist.
  • The association App\Entity\User#comments refers to the owning side field App\Entity\Comment#User which does not exist.
  • The association App\Entity\User#votes refers to the owning side field App\Entity\Vote#User which does not exist.
App\Entity\Comment
  • The mappings App\Entity\Comment#user and App\Entity\User#comments are inconsistent with each other.
App\Entity\Vote
  • The mappings App\Entity\Vote#user and App\Entity\User#votes are inconsistent with each other.
App\Entity\Category No errors.