GET https://lootopia-test.ordwen-dev.com/hunt/16

Query Metrics

4 Database Queries
4 Different statements
6.63 ms Query time
3 Invalid entities
6 Managed entities

Grouped Statements

Show all queries

Time Count Info
2.06 ms
(31.05%)
1
SELECT t0.id AS id_1, t0.description AS description_2, t0.public AS public_3, t0.world AS world_4, t0.title AS title_5, t0.created_at AS created_at_6, t7.id AS id_8, t7.cost AS cost_9, t7.participants_limit AS participants_limit_10, t7.hunt_id AS hunt_id_11, t0.organizer_id AS organizer_id_12, t13.id AS id_14, t13.latitude AS latitude_15, t13.longitude AS longitude_16, t13.radius AS radius_17, t13.hunt_id AS hunt_id_18 FROM hunt t0 LEFT JOIN participation_condition t7 ON t7.hunt_id = t0.id LEFT JOIN landmark t13 ON t13.hunt_id = t0.id WHERE t0.id = ?
Parameters:
[
  16
]
1.71 ms
(25.79%)
1
SELECT t1.id AS id_2, t1.username AS username_3, t1.firstname AS firstname_4, t1.lastname AS lastname_5, t1.mail_address AS mail_address_6, t1.password AS password_7, t1.created AS created_8, t1.updated AS updated_9, t1.discriminator FROM organizer t0 INNER JOIN user t1 ON t0.id = t1.id WHERE t1.id = ?
Parameters:
[
  222
]
1.47 ms
(22.17%)
1
SELECT t0.id AS id_1, t0.crown_amount AS crown_amount_2, t0.hunt_id AS hunt_id_3 FROM reward t0 WHERE t0.hunt_id = ?
Parameters:
[
  16
]
1.39 ms
(20.98%)
1
SELECT t1.id AS id_2, t1.username AS username_3, t1.firstname AS firstname_4, t1.lastname AS lastname_5, t1.mail_address AS mail_address_6, t1.password AS password_7, t1.created AS created_8, t1.updated AS updated_9, t0.crowns AS crowns_10, t1.discriminator FROM participant t0 INNER JOIN user t1 ON t0.id = t1.id INNER JOIN participant_hunt ON t0.id = participant_hunt.participant_id WHERE participant_hunt.hunt_id = ?
Parameters:
[
  16
]

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\User 2
App\Entity\Hunt 1
App\Entity\ParticipationCondition 1
App\Entity\Landmark 1
App\Entity\Reward 1

Entities Mapping

Class Mapping errors
App\Entity\Hunt
  • The mappings App\Entity\Hunt#rewards and App\Entity\Reward#hunt are inconsistent with each other.
App\Entity\ParticipationCondition No errors.
App\Entity\User No errors.
App\Entity\Organizer No errors.
App\Entity\Landmark
  • The field 'App\Entity\Landmark#latitude' has the property type 'float' that differs from the metadata field type 'string' returned by the 'decimal' DBAL type.
  • The field 'App\Entity\Landmark#longitude' has the property type 'float' that differs from the metadata field type 'string' returned by the 'decimal' DBAL type.
App\Entity\Reward
  • If association App\Entity\Reward#hunt is many-to-one, then the inversed side App\Entity\Hunt#conditions has to be one-to-many.
App\Entity\Participant No errors.