GET https://assosport.fr/clubs?sport=1

Query Metrics

6 Database Queries
5 Different statements
5.66 ms Query time
2 Invalid entities
44 Managed entities

Grouped Statements

Show all queries

Time Count Info
2.74 ms
(48.37%)
1
SELECT count(DISTINCT c0_.id) AS sclr_0 FROM clubs c0_ INNER JOIN cours c1_ ON c0_.id = c1_.club_id WHERE c0_.etat IN (?, ?) AND c1_.sport_id = ? GROUP BY c0_.id
Parameters:
[
  "OK"
  "PUB"
  1
]
0.97 ms
(17.22%)
2
SELECT t0.id AS id_1, t0.horaires AS horaires_2, t0.nbplace AS nbplace_3, t0.etat AS etat_4, t0.jour AS jour_5, t0.heure_debut AS heure_debut_6, t0.heure_fin AS heure_fin_7, t0.club_id AS club_id_8, t0.site_id AS site_id_9, t0.sport_id AS sport_id_10, t0.entraineur_id AS entraineur_id_11, t0.niveau_id AS niveau_id_12 FROM cours t0 WHERE t0.club_id = ?
Parameters:
[
  1
]
0.78 ms
(13.84%)
1
SELECT t0.id AS id_1, t0.nom AS nom_2, t0.description AS description_3, t0.logo AS logo_4, t0.fiche_pratique AS fiche_pratique_5 FROM sports t0 ORDER BY t0.nom ASC
Parameters:
[]
0.61 ms
(10.82%)
1
SELECT c0_.id AS id_0, c0_.nom AS nom_1, c0_.adresse AS adresse_2, c0_.cp AS cp_3, c0_.mail AS mail_4, c0_.tel AS tel_5, c0_.ville AS ville_6, c0_.code AS code_7, c0_.etat AS etat_8, c0_.presentationhtml AS presentationhtml_9, c0_.lienweb AS lienweb_10, c0_.couleur AS couleur_11, c0_.guid AS guid_12, c0_.textfacturepied AS textfacturepied_13, c0_.messbienvenu AS messbienvenu_14, c0_.textinscription AS textinscription_15, c0_.theme_id AS theme_id_16 FROM clubs c0_ INNER JOIN cours c1_ ON c0_.id = c1_.club_id WHERE c0_.etat IN (?, ?) AND c1_.sport_id = ? AND c0_.id IN (?, ?) GROUP BY c0_.id ORDER BY c0_.nom ASC
Parameters:
[
  "OK"
  "PUB"
  1
  1
  2
]
0.55 ms
(9.75%)
1
SELECT DISTINCT c0_.id AS id_0, c0_.nom AS nom_1 FROM clubs c0_ INNER JOIN cours c1_ ON c0_.id = c1_.club_id WHERE c0_.etat IN (?, ?) AND c1_.sport_id = ? GROUP BY c0_.id ORDER BY c0_.nom ASC LIMIT 10
Parameters:
[
  "OK"
  "PUB"
  1
]

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\Cours 22
App\Entity\Sports 7
App\Entity\Sites 5
App\Entity\Niveaux 4
App\Entity\Contacts 3
App\Entity\Clubs 2
App\Entity\Theme 1

Entities Mapping

Class Mapping errors
App\Entity\Clubs
  • The field App\Entity\Clubs#annonces is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Annonces#club does not contain the required 'inversedBy: "annonces"' attribute.
App\Entity\Cours No errors.
App\Entity\Theme No errors.
App\Entity\Equipes No errors.
App\Entity\Blogs No errors.
App\Entity\Users No errors.
App\Entity\Sites No errors.
App\Entity\Forfaits No errors.
App\Entity\Factures No errors.
App\Entity\Reductions No errors.
App\Entity\Indicationspaiements No errors.
App\Entity\Messages No errors.
App\Entity\Stats No errors.
App\Entity\ActionsSponsoring No errors.
App\Entity\Annonces No errors.
App\Entity\Competitions No errors.
App\Entity\Sports No errors.
App\Entity\Contacts
  • The mappings App\Entity\Contacts#club and App\Entity\Equipes#contact are inconsistent with each other.
App\Entity\Niveaux No errors.
App\Entity\Inscriptions No errors.