GET https://lootopia-test.ordwen-dev.com/hunts?page=1

Query Metrics

47 Database Queries
8 Different statements
37.87 ms Query time
3 Invalid entities
45 Managed entities

Queries

Group similar statements

# Time Info
1 7.34 ms
SELECT count(DISTINCT h0_.id) AS sclr_0 FROM hunt h0_ WHERE h0_.public = 1
Parameters:
[]
2 1.39 ms
SELECT DISTINCT h0_.id AS id_0, h0_.created_at AS created_at_1 FROM hunt h0_ WHERE h0_.public = 1 ORDER BY h0_.created_at DESC LIMIT 9
Parameters:
[]
3 1.95 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 AND h0_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?) ORDER BY h0_.created_at DESC
Parameters:
[
  16
  22
  38
  29
  51
  35
  48
  18
  45
]
4 1.50 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
]
5 1.49 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
]
6 0.66 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
]
7 0.51 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
]
8 0.48 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
]
9 0.46 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
]
10 0.47 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
]
11 0.48 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
]
12 0.46 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
]
13 0.45 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
]
14 0.49 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:
[
  35
]
15 0.43 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:
[
  35
]
16 0.54 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:
[
  48
]
17 0.43 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:
[
  48
]
18 0.39 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:
[
  18
]
19 0.45 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:
[
  18
]
20 0.45 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:
[
  45
]
21 0.42 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:
[
  45
]
22 1.59 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
]
23 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:
[
  16
]
24 0.78 ms
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
]
25 0.71 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
]
26 0.62 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
]
27 0.45 ms
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:
[
  22
]
28 0.51 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
]
29 0.52 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
]
30 0.58 ms
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:
[
  38
]
31 0.73 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
]
32 0.56 ms
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:
[
  29
]
33 0.56 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
]
34 0.59 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
]
35 0.43 ms
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:
[
  51
]
36 0.52 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:
[
  17
]
37 0.61 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:
[
  35
]
38 0.49 ms
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:
[
  35
]
39 0.63 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:
[
  19
]
40 0.56 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:
[
  48
]
41 0.46 ms
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:
[
  48
]
42 0.50 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:
[
  10
]
43 0.77 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:
[
  18
]
44 0.58 ms
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:
[
  18
]
45 0.68 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:
[
  14
]
46 0.56 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:
[
  45
]
47 0.45 ms
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:
[
  45
]

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 9
App\Entity\ParticipationCondition 9
App\Entity\User 9
App\Entity\Landmark 9
App\Entity\Reward 9

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.