GET https://www.chalet-montagne-api-dev.azertyui.fr/api/public-front/search/filters

Query Metrics

9 Database Queries
5 Different statements
40.48 ms Query time
0 Invalid entities
0 Managed entities

Queries

Group similar statements

# Time Info
1 38.25 ms
SELECT ht.id, ht.name, ht.slug,
                    (SELECT COUNT(h.id) FROM hosting h
                     INNER JOIN rental r ON h.rental_id = r.id
                     WHERE h.hosting_type_id = ht.id
                       AND h.deleted_at IS NULL
                       AND r.is_renting_active = 1
                       AND r.system_is_renting_allowed = 1) AS count
                FROM hosting_type ht
                ORDER BY ht.name ASC
Parameters:
[]
2 0.50 ms
SELECT id, name, distance, ordre FROM hosting_distance ORDER BY ordre ASC
Parameters:
[]
3 0.29 ms
SELECT id, name, distance, ordre FROM hosting_distance ORDER BY ordre ASC
Parameters:
[]
4 0.30 ms
SELECT ho.id, ho.name
                FROM hosting_options ho
                WHERE ho.cat = ? AND ho.research = '1'
                ORDER BY ho.priority ASC, ho.name ASC
Parameters:
[
  "special"
]
5 0.29 ms
SELECT ho.id, ho.name
                FROM hosting_options ho
                WHERE ho.cat = ? AND ho.research = '1'
                ORDER BY ho.priority ASC, ho.name ASC
Parameters:
[
  "amenagement"
]
6 0.19 ms
SELECT ho.id, ho.name
                    FROM hosting_options ho
                    WHERE ho.research = '1'
                    ORDER BY ho.priority ASC, ho.name ASC
Parameters:
[]
7 0.20 ms
SELECT ho.id, ho.name
                FROM hosting_options ho
                WHERE ho.cat = ? AND ho.research = '1'
                ORDER BY ho.priority ASC, ho.name ASC
Parameters:
[
  "service"
]
8 0.22 ms
SELECT ho.id, ho.name
                    FROM hosting_options ho
                    WHERE ho.research = '1'
                    ORDER BY ho.priority ASC, ho.name ASC
Parameters:
[]
9 0.24 ms
SELECT id, classification, level FROM hosting_class ORDER BY level DESC
Parameters:
[]

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

Entities Mapping

No loaded entities.