https://prod.golmanagerpanel.com/api/es/player/trainingAsist?isIos=false&p=api%2Fes%2Fplayer%2FtrainingAsist&version_app=5.0.5

Query Metrics

109 Database Queries
8 Different statements
139.57 ms Query time
10 Invalid entities

Grouped Statements

Show all queries

Time Count Info
38.02 ms
(0.00%)
32
SELECT COALESCE(SUM(g0_.minutes), 0) AS sclr_0, COALESCE(SUM(CASE WHEN g1_.competition_id = 1 THEN g0_.minutes ELSE 0 END), 0) AS sclr_1 FROM game_player_statistics g0_ INNER JOIN game g1_ ON g0_.game_id = g1_.id WHERE g0_.seasonplayer_id = ?
Parameters:
[
  117807
]
32.20 ms
(0.00%)
1
SELECT
        *
        FROM
        customer_device
        WHERE
            :token LIKE CONCAT(token,'%') AND
            `status` = 0
Parameters:
[
  "token" => "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3NDkzNzE1MzksImV4cCI6MTc0OTM3NTEzOSwicm9sZXMiOlsiUk9MRV9DVVNUT01FUiJdLCJ1c2VybmFtZSI6Impvc2VjaWZyZTIxQGdtYWlsLmNvbSJ9.mAPp464mMoJH6uGovjvejAg6gt-W8wCKC2Chi2iRHC3sekwrA9ntf1VpP34D5PSDWGvJAkZ-T7v71oaRMQg3vuxQGf3ZyvOEJ1Ptm_9ZZSgFw_G_gvMMAADG_Wlj0MZp49-bQjTh8E8_eiJIgT2gR39npdMlIN4WbGxfOjHtY1lc8crigqEZeMz18u84JmECWiKKB-6mwVQ4JCG9XeJGcI8ZE-LrfuTn23Z_ILO53TL0hcPDYPhqNqIWcJW0IXBVIm1Mm97WJWo5SQztPGM_Bm_8SoB1Rgxsp5MaA06BLdYt5_-WAI4ginbY48b3jXiM_SZYX_Gayo_8Y7w1E5bT8PtEXeEXgmb55EZkYiy0sgec9i0-lk9lTiUQ_7Kv4_bzrkvO5cDSrYvxRNXwMlvueP-DBarrVhvt9Yb7CHvmk3rv2r-MMQifDPGfyCYR09lBI6FPkCLgxhiMqQrGtnVeAexmBph1kQQMYuQ9Gqsy3ro993OZ4Ag830D95rLZ56Dg3ZI42AbO7Dzf-qM3TCganrI7Tn7AuLC1RoZZARrgkyxY_I7QYeYG1IaIWell-lKeQ1FayhZIhTRAv3ZL3EeQxGwUsHvwj7CorNsVWhLbAqYCLeKPtsBolsTu7PWk5Y6-rbzCyPa-gVZmXY0wsNByLddweLlttYCZ4296QqbBIzw"
]
28.77 ms
(0.00%)
32
SELECT 
            ta.id,
            SUM(IF(tap.player_id IS NULL,0,1)) AS trainingAsist,
            COUNT(ta.id) AS trainingAsistTotal
        FROM training_asist AS ta
        LEFT JOIN training_asist_player AS tap ON ta.id = tap.training_asist_id AND tap.player_id = :player_id 
        WHERE ta.season_id = :season_id
        GROUP BY ta.season_id;
Parameters:
[
  "player_id" => 115066
  "season_id" => 27057
]
26.62 ms
(0.00%)
34
SELECT t0.id AS id_1, t0.name AS name_2, t0.lastname AS lastname_3, t0.age AS age_4, t0.weight AS weight_5, t0.height AS height_6, t0.shoes AS shoes_7, t0.image AS image_8, t0.updated_at AS updated_at_9, t0.skillful_leg AS skillful_leg_10, t0.is_active AS is_active_11, t0.birth_date AS birth_date_12, t0.phone AS phone_13, t0.email AS email_14, t0.number_document AS number_document_15, t0.health_card AS health_card_16, t0.date_of_birth AS date_of_birth_17, t0.medical_review_date AS medical_review_date_18, t0.last_club AS last_club_19, t0.deleted_at AS deleted_at_20, t0.position_id AS position_id_21, t0.secondary_position_id AS secondary_position_id_22, t0.country_id AS country_id_23 FROM player t0 WHERE t0.id = ?
Parameters:
[
  115066
]
11.11 ms
(0.00%)
7
SELECT t0.id AS id_1, t0.slug AS slug_2, t0.image AS image_3, t0.updated_at AS updated_at_4, t0.field_position AS field_position_5 FROM position t0 WHERE t0.id = ?
Parameters:
[
  1
]
1.12 ms
(0.00%)
1
SELECT t0.id AS id_1, t0.email AS email_2, t0.username AS username_3, t0.roles AS roles_4, t0.password AS password_5, t0.plain_password AS plain_password_6, t0.enabled AS enabled_7, t0.name AS name_8, t0.surname AS surname_9, t0.address AS address_10, t0.celular AS celular_11, t0.image AS image_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.country_id AS country_id_15, t0.season_active AS season_active_16, t0.type_account AS type_account_17, t0.is_pro AS is_pro_18, t0.purchase AS purchase_19, t0.purchase_platform AS purchase_platform_20, t0.membership_id AS membership_id_21, t0.coupon_status AS coupon_status_22, t0.phone AS phone_23, t0.google_auth_code AS google_auth_code_24, t0.google_auth_code_verified AS google_auth_code_verified_25, t0.date_of_birth AS date_of_birth_26, t0.deleted_at AS deleted_at_27, t0.is_deleted AS is_deleted_28, t0.country_id AS country_id_29 FROM customer t0 WHERE t0.email = ? LIMIT 1
Parameters:
[
  "josecifre21@gmail.com"
]
0.97 ms
(0.00%)
1
SELECT t0.id AS id_1, t0.games AS games_2, t0.goals AS goals_3, t0.yellow_card AS yellow_card_4, t0.red_card AS red_card_5, t0.dorsal AS dorsal_6, t0.is_active AS is_active_7, t0.deleted_at AS deleted_at_8, t0.season_id AS season_id_9, t0.player_id AS player_id_10 FROM season_player t0 WHERE t0.season_id = ?
Parameters:
[
  27057
]
0.76 ms
(0.00%)
1
SELECT t0.id AS id_1, t0.year AS year_2, t0.is_active AS is_active_3, t0.team_id AS team_id_4, t0.customer_id AS customer_id_5, t0.country_id AS country_id_6 FROM season t0 WHERE t0.customer_id = ?
Parameters:
[
  24528
]

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\Customer
  • The association App\Entity\Customer#exerciseQualifications refers to the owning side field App\Entity\ExerciseQualification#customer_id which does not exist.
App\Entity\Country No errors.
App\Entity\Season No errors.
App\Entity\Suggestion No errors.
App\Entity\CouponCustomer No errors.
App\Entity\Notification No errors.
App\Entity\ExerciseQualification
  • The association App\Entity\ExerciseQualification#exercise refers to the inverse side field App\Entity\Exercise#qualifications which does not exist.
  • The association App\Entity\ExerciseQualification#customer refers to the inverse side field App\Entity\Customer#exerciseQualification which does not exist.
  • The association App\Entity\ExerciseQualification#exercises refers to the owning side field App\Entity\Exercise#qualifications which does not exist.
App\Entity\Strategy No errors.
App\Entity\Player
  • The field App\Entity\Player#convocatorias is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Convocatoria#players does not contain the required 'inversedBy="convocatorias"' attribute.
  • The association App\Entity\Player#country refers to the inverse side field App\Entity\Country#player which does not exist.
App\Entity\Team
  • The association App\Entity\Team#typeSoccer refers to the inverse side field App\Entity\TypeSoccer#teams which does not exist.
App\Entity\SeasonPlayer
  • The association App\Entity\SeasonPlayer#minutes refers to the owning side field App\Entity\Minutes#player_id which does not exist.
  • The association App\Entity\SeasonPlayer#playerWeights refers to the owning side field App\Entity\PlayerWeight#season_player_id which does not exist.
  • The mappings App\Entity\SeasonPlayer#captainInGames and App\Entity\GameAlignment#seasonplayer are inconsistent with each other.
App\Entity\Game
  • The association App\Entity\Game#minutes refers to the owning side field App\Entity\Minutes#game_id which does not exist.
  • The mappings App\Entity\Game#rival_alignment and App\Entity\GameAlignment#game are inconsistent with each other.
  • The mappings App\Entity\Game#seasonplayer and App\Entity\GamePlayerStatistics#game are inconsistent with each other.
App\Entity\TrainingAsist No errors.
App\Entity\ExerciseCalendar
  • The association App\Entity\ExerciseCalendar#exerciseUser refers to the inverse side field App\Entity\ExerciseUser#exerciseCalendar which does not exist.
App\Entity\PlayerJustification No errors.
App\Entity\Minutes No errors.
App\Entity\KilometersTraveled No errors.
App\Entity\ShotsOnGoal No errors.
App\Entity\PlayerWeight
  • The mappings App\Entity\PlayerWeight#seasonPlayer and App\Entity\SeasonPlayer#playerWeights are inconsistent with each other.
App\Entity\GamePlayerStatistics No errors.
App\Entity\PlayerSportsInjuries No errors.
App\Entity\GameAlignment
  • The association App\Entity\GameAlignment#seasonplayer refers to the inverse side field App\Entity\SeasonPlayer#GameAlignment which does not exist.
App\Entity\Position No errors.
App\Entity\Convocatoria
  • The association App\Entity\Convocatoria#players refers to the owning side field App\Entity\ConvocatoriaPlayer#convocatoria which does not exist.
App\Entity\PositionTranslation No errors.