GET https://api.mmafriend.com/api/bettingGroupStat/7

Query Metrics

2 Database Queries
2 Different statements
0.73 ms Query time
2 Invalid entities

Grouped Statements

Show all queries

Time Count Info
0.43 ms
(59.10%)
1
SELECT t0.id AS id_1, t0.total_points AS total_points_2, t0.total_bets AS total_bets_3, t0.won_bets AS won_bets_4, t0.lost_bets AS lost_bets_5, t0.win_rate AS win_rate_6, t0.position AS position_7, t0.updated_at AS updated_at_8, t0.betting_group_id AS betting_group_id_9, t0.user_id AS user_id_10 FROM betting_group_stats t0 WHERE t0.betting_group_id = ?
Parameters:
[
  "7"
]
0.30 ms
(40.90%)
1
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.google_id AS google_id_5, t0.full_name AS full_name_6, t0.nickname AS nickname_7, t0.avatar AS avatar_8 FROM user t0 WHERE t0.id = ?
Parameters:
[
  2
]

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\BettingGroupStats
  • The mappings App\Entity\BettingGroupStats#user and App\Entity\User#bettingGroupStats are inconsistent with each other.
App\Entity\BettingGroup No errors.
App\Entity\User
  • The association App\Entity\User#bettingGroupStats refers to the owning side field App\Entity\BettingGroupStats#User which does not exist.
App\Entity\Bet No errors.