GET http://82.66.25.12:8081/?page=2

Query Metrics

123 Database Queries
9 Different statements
24.84 ms Query time
4 Invalid entities

Grouped Statements

Show all queries

Time Count Info
16.50 ms
(66.41%)
90
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  44
  "upvote"
]
2.53 ms
(10.19%)
10
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:
[
  44
]
2.09 ms
(8.40%)
10
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 = ?
Parameters:
[
  44
]
1.62 ms
(6.53%)
8
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.firstname AS firstname_5, t0.lastname AS lastname_6, t0.inscription_time AS inscription_time_7, t0.username AS username_8 FROM user t0 WHERE t0.id = ?
Parameters:
[
  47
]
0.70 ms
(2.81%)
1
SELECT COUNT(DISTINCT d0_.id) AS sclr_0 FROM deal d0_
Parameters:
[]
0.47 ms
(1.89%)
1
SELECT d0_.id AS id_0, d0_.title AS title_1, d0_.description AS description_2, d0_.initialprice AS initialprice_3, d0_.reduceprice AS reduceprice_4, d0_.publicationdate AS publicationdate_5, d0_.link AS link_6, d0_.delivery AS delivery_7, d0_.image_filename AS image_filename_8, d0_.is_active AS is_active_9, d0_.is_published AS is_published_10, d0_.user_id AS user_id_11 FROM deal d0_ WHERE d0_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ORDER BY d0_.publicationdate DESC
Parameters:
[
  44
  68
  47
  48
  49
  40
  41
  57
  43
  45
]
0.35 ms
(1.43%)
1
SELECT DISTINCT d0_.id AS id_0, d0_.publicationdate AS publicationdate_1 FROM deal d0_ ORDER BY d0_.publicationdate DESC LIMIT 10 OFFSET 10
Parameters:
[]
0.34 ms
(1.39%)
1
SELECT t0.id AS id_1, t0.name_category AS name_category_2, t0.categories_id AS categories_id_3 FROM category t0 WHERE t0.categories_id IS NULL
Parameters:
[]
0.24 ms
(0.96%)
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
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\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.