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

Query Metrics

46 Database Queries
8 Different statements
61.78 ms Query time
3 Invalid entities
43 Managed entities

Queries

Group similar statements

# Time Info
1 1.90 ms
SELECT count(DISTINCT h0_.id) AS sclr_0 FROM hunt h0_ WHERE h0_.public = 1
Parameters:
[]
2 1.48 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 OFFSET 9
Parameters:
[]
3 3.93 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:
[
  36
  17
  15
  4
  26
  44
  41
  34
  9
]
4 2.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:
[
  36
]
5 1.61 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:
[
  36
]
6 1.12 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:
[
  17
]
7 1.04 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:
[
  17
]
8 4.59 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:
[
  15
]
9 1.65 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:
[
  15
]
10 1.16 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:
[
  4
]
11 1.23 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:
[
  4
]
12 0.99 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:
[
  26
]
13 0.94 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:
[
  26
]
14 0.88 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:
[
  44
]
15 0.85 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:
[
  44
]
16 0.94 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:
[
  41
]
17 0.82 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:
[
  41
]
18 0.86 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:
[
  34
]
19 0.89 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:
[
  34
]
20 0.88 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:
[
  9
]
21 0.85 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:
[
  9
]
22 1.89 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:
[
  12
]
23 1.78 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:
[
  36
]
24 1.33 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:
[
  36
]
25 1.35 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
]
26 1.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:
[
  17
]
27 1.31 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:
[
  17
]
28 1.21 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:
[
  3
]
29 1.32 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:
[
  15
]
30 0.99 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:
[
  15
]
31 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:
[
  16
]
32 1.14 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:
[
  4
]
33 0.98 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:
[
  4
]
34 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:
[
  6
]
35 1.28 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:
[
  26
]
36 0.90 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:
[
  26
]
37 1.01 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:
[
  5
]
38 1.32 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:
[
  44
]
39 0.95 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:
[
  44
]
40 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:
[
  17
]
41 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, 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:
[
  41
]
42 0.99 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:
[
  41
]
43 1.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:
[
  34
]
44 0.95 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:
[
  34
]
45 1.19 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:
[
  9
]
46 1.17 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:
[
  9
]

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

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.