GET http://dev.bussiness-car.profsoft.online/api/specialOffers?cityIds=1&limit=10&page=1&type=1

Query Metrics

32 Database Queries
5 Different statements
185.58 ms Query time
1 Invalid entities
37 Managed entities

Grouped Statements

Show all queries

Time Count Info
90.19 ms
(48.60%)
10
SELECT t0.id AS id_1, t0.mark_id AS mark_id_2, t0.image AS image_3, t0.type AS type_4, t0.external_id AS external_id_5, t0.map_images AS map_images_6 FROM brand t0 INNER JOIN special_offer_brand ON t0.id = special_offer_brand.brand_id WHERE special_offer_brand.special_offer_id = ?
Parameters:
[
  11884
]
86.20 ms
(46.45%)
1
SELECT t0.id AS id_1, t0.mark_id AS mark_id_2, t0.image AS image_3, t0.type AS type_4, t0.external_id AS external_id_5, t0.map_images AS map_images_6 FROM brand t0 INNER JOIN brand_city ON t0.id = brand_city.brand_id WHERE brand_city.city_id = ?
Parameters:
[
  1
]
4.43 ms
(2.39%)
10
SELECT t0.id AS id_1, t0.poi_id AS poi_id_2, t0.name AS name_3, t0.description AS description_4, t0.image AS image_5, t0.phone AS phone_6, t0.address AS address_7, t0.salon_time AS salon_time_8, t0.service_time AS service_time_9, t0.rating AS rating_10, t0.min_image AS min_image_11, t0.latitude AS latitude_12, t0.longitude AS longitude_13, t0.timeslots AS timeslots_14, t0.external_id AS external_id_15, t0.city_id AS city_id_16, t0.brand_id AS brand_id_17 FROM dealer t0 INNER JOIN special_offer_dealer ON t0.id = special_offer_dealer.dealer_id WHERE special_offer_dealer.special_offer_id = ?
Parameters:
[
  11884
]
3.09 ms
(1.66%)
10
SELECT t0.id AS id_1, t0.map AS map_2, t0.phone_number AS phone_number_3, t0.name AS name_4, t0.external_id AS external_id_5, t0.timezone AS timezone_6 FROM city t0 INNER JOIN special_offer_city ON t0.id = special_offer_city.city_id WHERE special_offer_city.special_offer_id = ?
Parameters:
[
  11884
]
1.67 ms
(0.90%)
1
SELECT DISTINCT s0_.id AS id_0, s0_.external_id AS external_id_1, s0_.title AS title_2, s0_.description AS description_3, s0_.type AS type_4, s0_.min_image AS min_image_5, s0_.max_image AS max_image_6, s0_.feedback_id AS feedback_id_7, s0_.sort AS sort_8, s0_.disclaimer AS disclaimer_9, s0_.date_at AS date_at_10, s0_.date_to AS date_to_11, s0_.car_type AS car_type_12, s0_.marks_filter AS marks_filter_13 FROM special_offer s0_ LEFT JOIN special_offer_city s2_ ON s0_.id = s2_.special_offer_id LEFT JOIN city c1_ ON c1_.id = s2_.city_id WHERE s0_.type = ? AND c1_.id IN (?) ORDER BY s0_.sort DESC, s0_.id DESC LIMIT 10
Parameters:
[
  "1"
  "1"
]

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\Dealer 18
App\Entity\SpecialOffer 10
App\Entity\Brand 8
App\Entity\City 1

Entities Mapping

Class Mapping errors
App\Entity\SpecialOffer No errors.
App\Entity\City
  • The mappings App\Entity\City#notifications and App\Entity\Story#cities are inconsistent with each other.
App\Entity\Brand No errors.
App\Entity\Dealer No errors.
App\Entity\Story No errors.
App\Entity\Car No errors.
App\Entity\User No errors.
App\Entity\Disc No errors.
App\Entity\WheelSet No errors.
App\Entity\Tire No errors.
App\Entity\Assistance No errors.
App\Entity\Invoice No errors.