GET https://ecobattle.jaouahir.com/api/leaderboard

Query Metrics

4 Database Queries
4 Different statements
0.75 ms Query time
0 Invalid entities
47 Managed entities

Grouped Statements

Show all queries

Time Count Info
0.22 ms
(28.94%)
1
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.nom AS nom_5, t0.role AS role_6, t0.score_total AS score_total_7, t0.total_co2 AS total_co2_8, t0.created_at AS created_at_9, t0.equipe_id AS equipe_id_10 FROM user t0 ORDER BY t0.score_total DESC
Parameters:
[]
0.20 ms
(26.28%)
1
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.nom AS nom_5, t0.role AS role_6, t0.score_total AS score_total_7, t0.total_co2 AS total_co2_8, t0.created_at AS created_at_9, t0.equipe_id AS equipe_id_10 FROM user t0 ORDER BY t0.score_total DESC LIMIT 10
Parameters:
[]
0.18 ms
(24.19%)
1
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.nom AS nom_5, t0.role AS role_6, t0.score_total AS score_total_7, t0.total_co2 AS total_co2_8, t0.created_at AS created_at_9, t0.equipe_id AS equipe_id_10 FROM user t0 WHERE t0.id = ?
Parameters:
[
  31
]
0.15 ms
(20.58%)
1
SELECT t0.id AS id_1, t0.nom AS nom_2, t0.score_equipe AS score_equipe_3, t0.code_invitation AS code_invitation_4, t0.created_at AS created_at_5 FROM equipe t0 ORDER BY t0.score_equipe DESC LIMIT 10
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.

Managed Entities

default entity manager

Class Amount of managed objects
App\Entity\User 40
App\Entity\Equipe 7

Entities Mapping

Class Mapping errors
App\Entity\User No errors.
App\Entity\Equipe No errors.
App\Entity\Preuve No errors.
App\Entity\Message No errors.
App\Entity\Conversation No errors.
App\Entity\Score No errors.
App\Entity\Competition No errors.