GET https://dev.boaz-connect.fr/fr/place/demo-baignade/stats/

Query Metrics

17 Database Queries
10 Different statements
66.25 ms Query time
2 Invalid entities
62 Managed entities

Grouped Statements

Show all queries

Time Count Info
52.76 ms
(79.64%)
2
SELECT m0_.id AS id_0, m0_.value AS value_1, m0_.raw AS raw_2, m0_.source AS source_3, m0_.timestamp AS timestamp_4, m0_.forecast AS forecast_5, m0_.strymo_id AS strymo_id_6, m0_.kind AS kind_7, m0_.day AS day_8, m0_.created_at AS created_at_9, m0_.updated_at AS updated_at_10, m0_.place_id AS place_id_11, m0_.parameter_id AS parameter_id_12, m0_.document_id AS document_id_13, m0_.report_id AS report_id_14 FROM metric m0_ INNER JOIN parameter p1_ ON m0_.parameter_id = p1_.id WHERE m0_.place_id = ? AND p1_.id = ? AND m0_.kind = ? AND m0_.forecast >= ? AND m0_.forecast <= ? AND m0_.value IS NOT NULL ORDER BY m0_.forecast ASC
Parameters:
[
  10
  27
  "daily"
  "2026-06-17 00:00:00"
  "2026-06-17 19:33:07"
]
4.27 ms
(6.44%)
4
SELECT m0_.id AS id_0, m0_.value AS value_1, m0_.raw AS raw_2, m0_.source AS source_3, m0_.timestamp AS timestamp_4, m0_.forecast AS forecast_5, m0_.strymo_id AS strymo_id_6, m0_.kind AS kind_7, m0_.day AS day_8, m0_.created_at AS created_at_9, m0_.updated_at AS updated_at_10, m0_.place_id AS place_id_11, m0_.parameter_id AS parameter_id_12, m0_.document_id AS document_id_13, m0_.report_id AS report_id_14 FROM metric m0_ WHERE m0_.parameter_id = ? AND m0_.place_id = ? AND m0_.value IS NOT NULL AND m0_.timestamp >= ? AND m0_.timestamp <= ? ORDER BY m0_.timestamp ASC
Parameters:
[
  10
  10
  1781647200
  1781717587
]
2.10 ms
(3.18%)
4
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.unit AS unit_4, t0.description AS description_5, t0.category AS category_6, t0.strymo_id AS strymo_id_7, t0.type AS type_8 FROM parameter t0 WHERE t0.slug = ? AND t0.category = ? LIMIT 1
Parameters:
[
  "people"
  "place"
]
1.40 ms
(2.11%)
1
SELECT DISTINCT t0_.id AS id_0, t0_.name AS name_1, t0_.slug AS slug_2, t0_.active AS active_3, t0_.description AS description_4, t0_.role AS role_5, t0_.parent_id AS parent_id_6 FROM taxonomy t0_ INNER JOIN taxonomy t1_ ON t0_.parent_id = t1_.id LEFT JOIN taxonomy t2_ ON t1_.parent_id = t2_.id INNER JOIN taxonomy_taxonomy t4_ ON t0_.id = t4_.taxonomy_source INNER JOIN taxonomy t3_ ON t3_.id = t4_.taxonomy_target WHERE ((t1_.slug = ? AND t3_.id IN (?)) OR t2_.slug = ?) AND t3_.id IN (?) ORDER BY t0_.name ASC
Parameters:
[
  "accident-report"
  38
  "accident-report"
  38
]
1.29 ms
(1.95%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.city AS city_4, t0.country AS country_5, t0.postalcode AS postalcode_6, t0.address AS address_7, t0.active AS active_8, t0.latitude AS latitude_9, t0.longitude AS longitude_10, t0.webcam_url AS webcam_url_11, t0.weather_station_id AS weather_station_id_12, t0.water_station_id AS water_station_id_13, t0.opening_hours AS opening_hours_14, t0.max_people AS max_people_15, t0.picture AS picture_16, t0.strymo_station_id AS strymo_station_id_17, t0.jauge_url AS jauge_url_18, t0.preview_code AS preview_code_19, t0.control_code AS control_code_20, t0.link AS link_21, t0.boazcreate AS boazcreate_22, t0.pict3d AS pict3d_23, t0.drive_directory AS drive_directory_24, t0.opening_days AS opening_days_25, t0.created_at AS created_at_26, t0.updated_at AS updated_at_27, t0.created_by AS created_by_28, t0.updated_by AS updated_by_29, t0.client_id AS client_id_30 FROM place t0 WHERE t0.slug = ? LIMIT 1
Parameters:
[
  "demo-baignade"
]
1.21 ms
(1.82%)
1
SELECT DISTINCT t0_.id AS id_0, t0_.name AS name_1, t0_.slug AS slug_2, t0_.active AS active_3, t0_.description AS description_4, t0_.role AS role_5, t0_.parent_id AS parent_id_6 FROM taxonomy t0_ INNER JOIN taxonomy t1_ ON t0_.parent_id = t1_.id LEFT JOIN taxonomy t2_ ON t1_.parent_id = t2_.id INNER JOIN taxonomy_taxonomy t4_ ON t0_.id = t4_.taxonomy_source INNER JOIN taxonomy t3_ ON t3_.id = t4_.taxonomy_target WHERE ((t1_.slug = ? AND t3_.id IN (?)) OR t2_.slug = ?) AND t3_.id IN (?) AND t0_.active = ? ORDER BY t0_.name ASC
Parameters:
[
  "report"
  38
  "report"
  38
  1
]
1.02 ms
(1.54%)
1
SELECT SUBSTRING(r0_.created_at FROM 1 FOR 10) AS sclr_0, r0_.event_type_id AS sclr_1, COUNT(r0_.id) AS sclr_2 FROM report r0_ INNER JOIN report_place r2_ ON r0_.id = r2_.report_id INNER JOIN place p1_ ON p1_.id = r2_.place_id WHERE p1_.id = ? AND r0_.event_type_id IN (?, ?, ?, ?, ?, ?, ?) AND r0_.created_at >= ? AND r0_.created_at <= ? GROUP BY sclr_0, r0_.event_type_id ORDER BY sclr_0 ASC
Parameters:
[
  10
  53
  52
  54
  51
  49
  27
  36
  "2026-06-17 00:00:00"
  "2026-06-17 19:33:07"
]
0.86 ms
(1.31%)
1
SELECT SUBSTRING(r0_.created_at FROM 1 FOR 10) AS sclr_0, r0_.event_type_id AS sclr_1, COUNT(r0_.id) AS sclr_2 FROM report r0_ INNER JOIN report_place r2_ ON r0_.id = r2_.report_id INNER JOIN place p1_ ON p1_.id = r2_.place_id WHERE p1_.id = ? AND r0_.event_type_id IN (?, ?, ?, ?) AND r0_.created_at >= ? AND r0_.created_at <= ? GROUP BY sclr_0, r0_.event_type_id ORDER BY sclr_0 ASC
Parameters:
[
  10
  68
  69
  67
  54
  "2026-06-17 00:00:00"
  "2026-06-17 19:33:07"
]
0.79 ms
(1.19%)
1
SELECT s0_.id AS id_0, s0_.value AS value_1, s0_.role AS role_2, s0_.day AS day_3, s0_.created_at AS created_at_4, s0_.updated_at AS updated_at_5, s0_.created_by AS created_by_6, s0_.updated_by AS updated_by_7, s0_.place_id AS place_id_8, s0_.user_id AS user_id_9, s0_.profile_id AS profile_id_10 FROM status s0_ WHERE s0_.place_id = ? AND s0_.updated_at >= ? AND s0_.updated_at < ? ORDER BY s0_.updated_at ASC
Parameters:
[
  10
  "2026-06-17 00:00:00"
  "2026-06-17 19:33:07"
]
0.55 ms
(0.83%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.active AS active_4, t0.description AS description_5, t0.role AS role_6, t0.parent_id AS parent_id_7 FROM taxonomy t0 INNER JOIN place_taxonomy ON t0.id = place_taxonomy.taxonomy_id WHERE place_taxonomy.place_id = ?
Parameters:
[
  10
]

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\Status 21
App\Entity\Metric 16
App\Entity\Taxonomy 15
App\Entity\User 5
App\Entity\Parameter 3
App\Entity\Place 1
App\Entity\Client 1

Entities Mapping

Class Mapping errors
App\Entity\Place
  • The association App\Entity\Place#category refers to the inverse side field App\Entity\Taxonomy#places which does not exist.
App\Entity\Client No errors.
App\Entity\User No errors.
App\Entity\Report
  • The field App\Entity\Report#taskDones is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\TaskDone#report does not contain the required 'inversedBy: "taskDones"' attribute.
App\Entity\Water No errors.
App\Entity\Weather No errors.
App\Entity\Status No errors.
App\Entity\Webcam No errors.
App\Entity\Metric No errors.
App\Entity\Message No errors.
App\Entity\Notification No errors.
App\Entity\Document No errors.
App\Entity\Taxonomy No errors.
App\Entity\Widget No errors.
App\Entity\Structure No errors.
App\Entity\News No errors.
App\Entity\Parameter No errors.
App\Entity\Task No errors.
App\Entity\Tutorial No errors.