Query Metrics

4 Database Queries
4 Different statements
2.26 ms Query time
2 Invalid entities

Queries

Group similar statements

# Time Info
1 1.37 ms
SELECT t0.id AS id_1, t0.price AS price_2, t0.tour_overview AS tour_overview_3, t0.tour_title AS tour_title_4, t0.tour_title_slug AS tour_title_slug_5, t0.tour_category_id AS tour_category_id_6 FROM tour_package t0 WHERE t0.tour_title_slug = ?
Parameters:
[
  "bhutan-at-a-glance"
]
2 0.35 ms
SELECT t0.id AS id_1, t0.image_name AS image_name_2, t0.tour_package_id AS tour_package_id_3, t0.hotels_in_bhutan_id AS hotels_in_bhutan_id_4, t0.top_destination_id AS top_destination_id_5 FROM images t0 WHERE t0.tour_package_id = ?
Parameters:
[
  9
]
3 0.27 ms
SELECT t0.id AS id_1, t0.category AS category_2, t0.slug AS slug_3, t0.sub_category_id AS sub_category_id_4 FROM tour_category t0
Parameters:
[]
4 0.28 ms
SELECT t0.id AS id_1, t0.price AS price_2, t0.tour_overview AS tour_overview_3, t0.tour_title AS tour_title_4, t0.tour_title_slug AS tour_title_slug_5, t0.tour_category_id AS tour_category_id_6 FROM tour_package t0 WHERE t0.tour_category_id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
]

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.

Entities Mapping

Class Mapping errors
App\Entity\TourPackage No errors.
App\Entity\TourCategory
  • The association App\Entity\TourCategory#sub_category refers to the inverse side field App\Entity\TourCategory#tourCategories which does not exist.
  • The mappings App\Entity\TourCategory#tour_categories and App\Entity\TourCategory#sub_category are inconsistent with each other.
App\Entity\Images
  • The field App\Entity\Images#topDestination is on the owning side of a bi-directional relationship, but the specified inversedBy association on the target-entity App\Entity\TopDestination#image does not contain the required 'mappedBy="topDestination"' attribute.
  • If association App\Entity\Images#topDestination is many-to-one, then the inversed side App\Entity\TopDestination#image has to be one-to-many.
App\Entity\Itinerary No errors.
App\Entity\HotelsInBhutan No errors.
App\Entity\TopDestination No errors.