Query Metrics

17 Database Queries
13 Different statements
13.47 ms Query time
0 Invalid entities
104 Managed entities

Queries

Group similar statements

# Time Info
1 1.22 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.nick_name AS nick_name_3, t0.address AS address_4, t0.website AS website_5, t0.phone AS phone_6, t0.link_facebook AS link_facebook_7, t0.link_instagram AS link_instagram_8, t0.link_twitter AS link_twitter_9, t0.link_tiktok AS link_tiktok_10, t0.departement AS departement_11, t0.logo AS logo_12, t0.banner AS banner_13, t0.city AS city_14, t0.zip AS zip_15, t0.mail AS mail_16, t0.opt_partenaire AS opt_partenaire_17, t0.opt_otm AS opt_otm_18, t0.opt_slid AS opt_slid_19, t0.distributor AS distributor_20, t0.distributor_2 AS distributor_2_21, t0.slug_ligue AS slug_ligue_22, t0.slug_dept AS slug_dept_23, t0.opt_document AS opt_document_24 FROM ligue t0 WHERE t0.slug_ligue = ? LIMIT 1
Parameters:
[
  "LRGBB"
]
2 0.89 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug_cat AS slug_cat_3, t0.groupe_category AS groupe_category_4, t0.sex AS sex_5 FROM category t0 WHERE t0.slug_cat = ? LIMIT 1
Parameters:
[
  "senior-masculin"
]
3 0.74 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.archived AS archived_3 FROM saison t0 WHERE t0.archived = ? LIMIT 1
Parameters:
[
  0
]
4 0.75 ms
SELECT DISTINCT c0_.id AS id_0, c0_.name AS name_1, c0_.slug_cat AS slug_cat_2, c0_.groupe_category AS groupe_category_3, c0_.sex AS sex_4 FROM category c0_ INNER JOIN championnat c1_ ON (c1_.category_id = c0_.id) WHERE c1_.ligue_id = ? AND c1_.saison_id = ? AND c1_.types = 1 ORDER BY c0_.name ASC
Parameters:
[
  1
  6
]
5 0.41 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.types AS types_3, t0.format AS format_4, t0.wins_to_qualify AS wins_to_qualify_5, t0.wins_to_win AS wins_to_win_6, t0.prono_enabled AS prono_enabled_7, t0.img AS img_8, t0.ligue_id AS ligue_id_9, t0.saison_id AS saison_id_10, t0.category_id AS category_id_11, t0.championnat_source_id AS championnat_source_id_12, t0.champs_master_id AS champs_master_id_13 FROM championnat t0 WHERE t0.ligue_id = ? AND t0.category_id = ? AND t0.saison_id = ? AND t0.types = ? LIMIT 1
Parameters:
[
  1
  1
  6
  1
]
6 0.63 ms
SELECT t0.id AS id_1, t0.phase AS phase_2, t0.number_day AS number_day_3, t0.statuts AS statuts_4, t0.name AS name_5, t0.slug_day AS slug_day_6, t0.championnat_id AS championnat_id_7 FROM day t0 WHERE t0.championnat_id = ? ORDER BY t0.number_day ASC
Parameters:
[
  62
]
7 0.55 ms
SELECT t0.id AS id_1, t0.phase AS phase_2, t0.number_day AS number_day_3, t0.statuts AS statuts_4, t0.name AS name_5, t0.slug_day AS slug_day_6, t0.championnat_id AS championnat_id_7 FROM day t0 WHERE t0.championnat_id = ? AND t0.statuts = ? ORDER BY t0.number_day DESC LIMIT 1
Parameters:
[
  62
  1
]
8 1.51 ms
SELECT t0.id AS id_1, t0.date AS date_2, t0.hours AS hours_3, t0.num_game AS num_game_4, t0.result_home AS result_home_5, t0.result_out AS result_out_6, t0.pts_home AS pts_home_7, t0.pts_out AS pts_out_8, t0.name_game AS name_game_9, t0.slug_game AS slug_game_10, t0.convocation AS convocation_11, t0.ticket AS ticket_12, t0.img AS img_13, t0.featured AS featured_14, t0.score_updated_at AS score_updated_at_15, t0.day_id AS day_id_16, t0.team_home_id AS team_home_id_17, t0.team_out_id AS team_out_id_18, t0.locate_id AS locate_id_19, t0.otm_chrono_id AS otm_chrono_id_20, t0.otm_marque_id AS otm_marque_id_21, t0.otm24s_id AS otm24s_id_22, t0.arbitre_id AS arbitre_id_23, t0.arbitre2_id AS arbitre2_id_24, t0.score_updated_by_id AS score_updated_by_id_25, t0.quarter_id AS quarter_id_26 FROM game t0 WHERE t0.day_id = ?
Parameters:
[
  557
]
9 0.63 ms
SELECT t0.id AS id_1, t0.date AS date_2, t0.hours AS hours_3, t0.num_game AS num_game_4, t0.result_home AS result_home_5, t0.result_out AS result_out_6, t0.pts_home AS pts_home_7, t0.pts_out AS pts_out_8, t0.name_game AS name_game_9, t0.slug_game AS slug_game_10, t0.convocation AS convocation_11, t0.ticket AS ticket_12, t0.img AS img_13, t0.featured AS featured_14, t0.score_updated_at AS score_updated_at_15, t0.day_id AS day_id_16, t0.team_home_id AS team_home_id_17, t0.team_out_id AS team_out_id_18, t0.locate_id AS locate_id_19, t0.otm_chrono_id AS otm_chrono_id_20, t0.otm_marque_id AS otm_marque_id_21, t0.otm24s_id AS otm24s_id_22, t0.arbitre_id AS arbitre_id_23, t0.arbitre2_id AS arbitre2_id_24, t0.score_updated_by_id AS score_updated_by_id_25, t0.quarter_id AS quarter_id_26 FROM game t0 WHERE t0.day_id IN (?)
Parameters:
[
  557
]
10 2.69 ms
SELECT
            t.id AS team_id,
            c.id AS club_id,
            c.name AS club_name,
            c.nick_name AS club_nickName,
            c.logo AS clubLogo,
            l.slug_ligue AS ligue_slug,
            SUM(CASE WHEN gd.team_home_id = t.id THEN IFNULL(gd.pts_home, 0) ELSE 0 END) +
            SUM(CASE WHEN gd.team_out_id = t.id THEN IFNULL(gd.pts_out, 0) ELSE 0 END) AS total,
            COUNT(CASE WHEN (gd.team_home_id = t.id AND gd.pts_home = 2) OR (gd.team_out_id = t.id AND gd.pts_out = 2) THEN gd.id END) AS matchgagner,
            COUNT(CASE WHEN (gd.team_home_id = t.id AND gd.pts_home = 1) OR (gd.team_out_id = t.id AND gd.pts_out = 1) THEN gd.id END) AS matchperdu,
            COUNT(CASE WHEN (gd.team_home_id = t.id AND gd.pts_home IS NOT NULL) OR (gd.team_out_id = t.id AND gd.pts_out IS NOT NULL) THEN gd.id END) AS matchjouer,
            SUM(CASE WHEN gd.team_home_id = t.id THEN IFNULL(gd.result_home, 0) ELSE 0 END) +
            SUM(CASE WHEN gd.team_out_id = t.id THEN IFNULL(gd.result_out, 0) ELSE 0 END) AS ptsmarquer,
            SUM(CASE WHEN gd.team_home_id = t.id THEN IFNULL(gd.result_out, 0) ELSE 0 END) +
            SUM(CASE WHEN gd.team_out_id = t.id THEN IFNULL(gd.result_home, 0) ELSE 0 END) AS ptsencaisser,
            SUM(CASE WHEN gd.team_home_id = t.id THEN IFNULL(gd.result_home, 0) - IFNULL(gd.result_out, 0) ELSE IFNULL(gd.result_out, 0) - IFNULL(gd.result_home, 0) END) AS goalAverage
            FROM game gd
            LEFT JOIN team t ON t.id = gd.team_home_id OR t.id = gd.team_out_id
            LEFT JOIN club c ON c.id = t.club_id
            LEFT JOIN ligue l ON l.id = c.ligue_id
            LEFT JOIN day d ON d.id = gd.day_id
            WHERE d.championnat_id = :championnatId
            GROUP BY t.id
            ORDER BY total DESC, goalAverage DESC
Parameters:
[
  ":championnatId" => 62
]
11 0.65 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.nick_name AS nick_name_3, t0.address AS address_4, t0.website AS website_5, t0.phone AS phone_6, t0.link_facebook AS link_facebook_7, t0.link_instagram AS link_instagram_8, t0.link_twitter AS link_twitter_9, t0.link_tiktok AS link_tiktok_10, t0.departement AS departement_11, t0.logo AS logo_12, t0.banner AS banner_13, t0.city AS city_14, t0.zip AS zip_15, t0.mail AS mail_16, t0.opt_partenaire AS opt_partenaire_17, t0.opt_otm AS opt_otm_18, t0.opt_slid AS opt_slid_19, t0.distributor AS distributor_20, t0.distributor_2 AS distributor_2_21, t0.slug_ligue AS slug_ligue_22, t0.slug_dept AS slug_dept_23, t0.opt_document AS opt_document_24 FROM ligue t0
Parameters:
[]
12 0.53 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.nick_name AS nick_name_3, t0.logo AS logo_4, t0.banner AS banner_5, t0.website AS website_6, t0.link_facebook AS link_facebook_7, t0.link_instagram AS link_instagram_8, t0.link_twitter AS link_twitter_9, t0.link_tiktok AS link_tiktok_10, t0.address AS address_11, t0.zip AS zip_12, t0.departement AS departement_13, t0.city AS city_14, t0.opt_partenaire AS opt_partenaire_15, t0.name_president AS name_president_16, t0.nick_name_president AS nick_name_president_17, t0.phone_president AS phone_president_18, t0.mail_president AS mail_president_19, t0.name_referent AS name_referent_20, t0.nick_name_referent AS nick_name_referent_21, t0.phone_referent AS phone_referent_22, t0.mail_referent AS mail_referent_23, t0.visibility AS visibility_24, t0.color_home AS color_home_25, t0.color_out AS color_out_26, t0.slug_club AS slug_club_27, t0.ligue_id AS ligue_id_28 FROM club t0 WHERE t0.ligue_id = ? AND t0.visibility = ? ORDER BY t0.nick_name ASC
Parameters:
[
  1
  "1"
]
13 0.46 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.nick_name AS nick_name_3, t0.logo AS logo_4, t0.banner AS banner_5, t0.website AS website_6, t0.link_facebook AS link_facebook_7, t0.link_instagram AS link_instagram_8, t0.link_twitter AS link_twitter_9, t0.link_tiktok AS link_tiktok_10, t0.address AS address_11, t0.zip AS zip_12, t0.departement AS departement_13, t0.city AS city_14, t0.opt_partenaire AS opt_partenaire_15, t0.name_president AS name_president_16, t0.nick_name_president AS nick_name_president_17, t0.phone_president AS phone_president_18, t0.mail_president AS mail_president_19, t0.name_referent AS name_referent_20, t0.nick_name_referent AS nick_name_referent_21, t0.phone_referent AS phone_referent_22, t0.mail_referent AS mail_referent_23, t0.visibility AS visibility_24, t0.color_home AS color_home_25, t0.color_out AS color_out_26, t0.slug_club AS slug_club_27, t0.ligue_id AS ligue_id_28 FROM club t0 WHERE t0.ligue_id = ?
Parameters:
[
  1
]
14 0.47 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.nick_name AS nick_name_3, t0.logo AS logo_4, t0.banner AS banner_5, t0.website AS website_6, t0.link_facebook AS link_facebook_7, t0.link_instagram AS link_instagram_8, t0.link_twitter AS link_twitter_9, t0.link_tiktok AS link_tiktok_10, t0.address AS address_11, t0.zip AS zip_12, t0.departement AS departement_13, t0.city AS city_14, t0.opt_partenaire AS opt_partenaire_15, t0.name_president AS name_president_16, t0.nick_name_president AS nick_name_president_17, t0.phone_president AS phone_president_18, t0.mail_president AS mail_president_19, t0.name_referent AS name_referent_20, t0.nick_name_referent AS nick_name_referent_21, t0.phone_referent AS phone_referent_22, t0.mail_referent AS mail_referent_23, t0.visibility AS visibility_24, t0.color_home AS color_home_25, t0.color_out AS color_out_26, t0.slug_club AS slug_club_27, t0.ligue_id AS ligue_id_28 FROM club t0 WHERE t0.ligue_id = ? AND t0.visibility = ? ORDER BY t0.nick_name ASC
Parameters:
[
  2
  "1"
]
15 0.42 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.nick_name AS nick_name_3, t0.logo AS logo_4, t0.banner AS banner_5, t0.website AS website_6, t0.link_facebook AS link_facebook_7, t0.link_instagram AS link_instagram_8, t0.link_twitter AS link_twitter_9, t0.link_tiktok AS link_tiktok_10, t0.address AS address_11, t0.zip AS zip_12, t0.departement AS departement_13, t0.city AS city_14, t0.opt_partenaire AS opt_partenaire_15, t0.name_president AS name_president_16, t0.nick_name_president AS nick_name_president_17, t0.phone_president AS phone_president_18, t0.mail_president AS mail_president_19, t0.name_referent AS name_referent_20, t0.nick_name_referent AS nick_name_referent_21, t0.phone_referent AS phone_referent_22, t0.mail_referent AS mail_referent_23, t0.visibility AS visibility_24, t0.color_home AS color_home_25, t0.color_out AS color_out_26, t0.slug_club AS slug_club_27, t0.ligue_id AS ligue_id_28 FROM club t0 WHERE t0.ligue_id = ?
Parameters:
[
  2
]
16 0.48 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.nick_name AS nick_name_3, t0.logo AS logo_4, t0.banner AS banner_5, t0.website AS website_6, t0.link_facebook AS link_facebook_7, t0.link_instagram AS link_instagram_8, t0.link_twitter AS link_twitter_9, t0.link_tiktok AS link_tiktok_10, t0.address AS address_11, t0.zip AS zip_12, t0.departement AS departement_13, t0.city AS city_14, t0.opt_partenaire AS opt_partenaire_15, t0.name_president AS name_president_16, t0.nick_name_president AS nick_name_president_17, t0.phone_president AS phone_president_18, t0.mail_president AS mail_president_19, t0.name_referent AS name_referent_20, t0.nick_name_referent AS nick_name_referent_21, t0.phone_referent AS phone_referent_22, t0.mail_referent AS mail_referent_23, t0.visibility AS visibility_24, t0.color_home AS color_home_25, t0.color_out AS color_out_26, t0.slug_club AS slug_club_27, t0.ligue_id AS ligue_id_28 FROM club t0 WHERE t0.ligue_id = ? AND t0.visibility = ? ORDER BY t0.nick_name ASC
Parameters:
[
  3
  "1"
]
17 0.44 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.nick_name AS nick_name_3, t0.logo AS logo_4, t0.banner AS banner_5, t0.website AS website_6, t0.link_facebook AS link_facebook_7, t0.link_instagram AS link_instagram_8, t0.link_twitter AS link_twitter_9, t0.link_tiktok AS link_tiktok_10, t0.address AS address_11, t0.zip AS zip_12, t0.departement AS departement_13, t0.city AS city_14, t0.opt_partenaire AS opt_partenaire_15, t0.name_president AS name_president_16, t0.nick_name_president AS nick_name_president_17, t0.phone_president AS phone_president_18, t0.mail_president AS mail_president_19, t0.name_referent AS name_referent_20, t0.nick_name_referent AS nick_name_referent_21, t0.phone_referent AS phone_referent_22, t0.mail_referent AS mail_referent_23, t0.visibility AS visibility_24, t0.color_home AS color_home_25, t0.color_out AS color_out_26, t0.slug_club AS slug_club_27, t0.ligue_id AS ligue_id_28 FROM club t0 WHERE t0.ligue_id = ?
Parameters:
[
  3
]

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\Club 63
App\Entity\Day 18
App\Entity\Team 10
App\Entity\Game 5
App\Entity\Ligue 3
App\Entity\Category 3
App\Entity\Saison 1
App\Entity\Championnat 1

Entities Mapping

Class Mapping errors
App\Entity\Ligue No errors.
App\Entity\Club No errors.
App\Entity\Terrain No errors.
App\Entity\Championnat No errors.
App\Entity\Officiel No errors.
App\Entity\Category No errors.
App\Entity\Team No errors.
App\Entity\Player No errors.
App\Entity\Saison No errors.
App\Entity\Stat No errors.
App\Entity\PlayerTeam No errors.
App\Entity\Day No errors.
App\Entity\Game No errors.
App\Entity\User No errors.
App\Entity\Quarter No errors.