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

Query Metrics

20 Database Queries
5 Different statements
24.89 ms Query time
3 Invalid entities
20 Managed entities

Queries

Group similar statements

# Time Info
1 3.11 ms
SELECT h0_.id AS id_0, h0_.description AS description_1, h0_.public AS public_2, h0_.world AS world_3, h0_.title AS title_4, h0_.created_at AS created_at_5, h0_.organizer_id AS organizer_id_6 FROM hunt h0_ WHERE h0_.public = 1 ORDER BY h0_.created_at DESC LIMIT 5
Parameters:
[]
2 1.31 ms
SELECT t0.id AS id_1, t0.cost AS cost_2, t0.participants_limit AS participants_limit_3, t0.hunt_id AS hunt_id_4 FROM participation_condition t0 WHERE t0.hunt_id = ?
Parameters:
[
  16
]
3 1.72 ms
SELECT t0.id AS id_1, t0.latitude AS latitude_2, t0.longitude AS longitude_3, t0.radius AS radius_4, t0.hunt_id AS hunt_id_5 FROM landmark t0 WHERE t0.hunt_id = ?
Parameters:
[
  16
]
4 0.96 ms
SELECT t0.id AS id_1, t0.cost AS cost_2, t0.participants_limit AS participants_limit_3, t0.hunt_id AS hunt_id_4 FROM participation_condition t0 WHERE t0.hunt_id = ?
Parameters:
[
  22
]
5 0.87 ms
SELECT t0.id AS id_1, t0.latitude AS latitude_2, t0.longitude AS longitude_3, t0.radius AS radius_4, t0.hunt_id AS hunt_id_5 FROM landmark t0 WHERE t0.hunt_id = ?
Parameters:
[
  22
]
6 0.93 ms
SELECT t0.id AS id_1, t0.cost AS cost_2, t0.participants_limit AS participants_limit_3, t0.hunt_id AS hunt_id_4 FROM participation_condition t0 WHERE t0.hunt_id = ?
Parameters:
[
  38
]
7 0.87 ms
SELECT t0.id AS id_1, t0.latitude AS latitude_2, t0.longitude AS longitude_3, t0.radius AS radius_4, t0.hunt_id AS hunt_id_5 FROM landmark t0 WHERE t0.hunt_id = ?
Parameters:
[
  38
]
8 1.01 ms
SELECT t0.id AS id_1, t0.cost AS cost_2, t0.participants_limit AS participants_limit_3, t0.hunt_id AS hunt_id_4 FROM participation_condition t0 WHERE t0.hunt_id = ?
Parameters:
[
  29
]
9 0.95 ms
SELECT t0.id AS id_1, t0.latitude AS latitude_2, t0.longitude AS longitude_3, t0.radius AS radius_4, t0.hunt_id AS hunt_id_5 FROM landmark t0 WHERE t0.hunt_id = ?
Parameters:
[
  29
]
10 0.93 ms
SELECT t0.id AS id_1, t0.cost AS cost_2, t0.participants_limit AS participants_limit_3, t0.hunt_id AS hunt_id_4 FROM participation_condition t0 WHERE t0.hunt_id = ?
Parameters:
[
  51
]
11 0.86 ms
SELECT t0.id AS id_1, t0.latitude AS latitude_2, t0.longitude AS longitude_3, t0.radius AS radius_4, t0.hunt_id AS hunt_id_5 FROM landmark t0 WHERE t0.hunt_id = ?
Parameters:
[
  51
]
12 1.99 ms
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
]
13 1.72 ms
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
]
14 1.13 ms
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:
[
  4
]
15 1.12 ms
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:
[
  22
]
16 0.98 ms
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:
[
  8
]
17 1.02 ms
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:
[
  38
]
18 1.17 ms
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:
[
  29
]
19 1.10 ms
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:
[
  9
]
20 1.12 ms
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:
[
  51
]

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\Hunt 5
App\Entity\ParticipationCondition 5
App\Entity\User 5
App\Entity\Landmark 5

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\User No errors.
App\Entity\Organizer No errors.
App\Entity\ParticipationCondition No errors.
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.
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.