https://prod.golmanagerpanel.com/api/it/exercise/2324/qualification?isIos=true&p=api%2Fit%2Fexercise%2F2324%2Fqualification&version_app=4.0.8

Query Metrics

7 Database Queries
7 Different statements
39.96 ms Query time
4 Invalid entities

Queries

Group similar statements

# Time Info
1 31.38 ms
SELECT
        *
        FROM
        customer_device
        WHERE
            :token LIKE CONCAT(token,'%') AND
            `status` = 0
Parameters:
[
  "token" => "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3MzUyNDc2NzIsImV4cCI6MTczNTI1MTI3Miwicm9sZXMiOlsiUk9MRV9DVVNUT01FUiJdLCJ1c2VybmFtZSI6InNhbmNoaXMuZ3J1cG9AZ21haWwuY29tIn0.dbG-JUKISaCf1_IZ0XLVXatrl-TcbDXYcM6Wzvh4_4UnMCKvu14KCCqMS6bsHIoQPsmt3ahtavgFaFFhW0EwX9oOnzR0ZFHQdfOnzee8PEXnTzORt8hx7_j_ELmGy9e11D_at4OAasrLp52Vq1CY3QhRSD7Z1di86RmwO2Zcpdwj2wNQ9B6LuaLCJ1NhANuAkJ7dEodWoaCeLSeWei31Se1b2ggTQaC6-P8Ictl8d6KxKK8M6SWdjlK-djNxwHpMrx1wa_-uEhltuuJQaWFckNMBAztSB3lAnJ_KsxxFjsEkWBDBeW4MY8sTYdw0pJkX9xWsJoO0FUCFXHUH4iXMSlS0MhBOVtNirnCiXxcRHgjQoPSKBT0Dcq-0_2T1gT90GU6G95rs84UXR42oipUGsUeykz2G6msJEqXWI1F5VYYTPOvpHnAUv2uzNAYMrXezisBUuo61bao06GA-GnC1HfdiBgjBvH3gytc4JsyasmPSd0c2N5zcVj5aawChcV2EswRHMALoHNeHUP1kHqEXfHF0lOoOqa7GACyhVT8P0budWefW-i4g7ZFThDccI5xUUiQTXSBJNZWCvBU9cg0ZdJqd5MYBAsLdAENq68QpbFXrsw3gRJRH1fOylr7TkOSZbTvQgYg-WHI01Rc6hFzunn73naNu0glo3zfV3u2D3Z4"
]
2 1.85 ms
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:
[
  "sanchis.grupo@gmail.com"
]
3 1.66 ms
SELECT t0.id AS id_1, t0.image AS image_2, t0.updated_at AS updated_at_3, t0.poster AS poster_4, t0.dificulty AS dificulty_5, t0.intensity AS intensity_6, t0.duration AS duration_7, t0.customer_id AS customer_id_8, t0.category_id AS category_id_9, t0.is_shared AS is_shared_10, t0.deleted_at AS deleted_at_11, t0.category_id AS category_id_12 FROM exercise t0 WHERE t0.id = ?
Parameters:
[
  "2324"
]
4 2.04 ms
SELECT t0.id AS id_1, t0.quantity AS quantity_2, t0.exercise_id AS exercise_id_3, t0.customer_id AS customer_id_4 FROM exercise_qualification t0 WHERE t0.exercise_id = ? AND t0.customer_id = ? LIMIT 1
Parameters:
[
  2324
  494
]
5 0.25 ms
"START TRANSACTION"
Parameters:
[]
6 2.24 ms
INSERT INTO exercise_qualification (quantity, exercise_id, customer_id) VALUES (?, ?, ?)
Parameters:
[
  1 => 5
  2 => 2324
  3 => 494
]
7 0.55 ms
"COMMIT"
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.

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\Exercise
  • The field App\Entity\Exercise#notes is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\NoteExercise#exercise does not contain the required 'inversedBy="notes"' attribute.
  • The mappings App\Entity\Exercise#exerciseQualifications and App\Entity\ExerciseQualification#exercise are inconsistent with each other.
App\Entity\Category No errors.
App\Entity\Material No errors.
App\Entity\NoteExercise 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\ExerciseTranslation No errors.