GET http://dev.bussiness-car.profsoft.online/api/brands?cityId=1

Query Metrics

35 Database Queries
5 Different statements
87.78 ms Query time
1 Invalid entities
9 Managed entities

Grouped Statements

Show all queries

Time▼ Count Info
73.24 ms
(83.43%)
1
SELECT COUNT(c0_.id) AS sclr_0 FROM car c0_ INNER JOIN brand b1_ ON c0_.brand_id = b1_.id WHERE c0_.is_bought = false AND c0_.dealer_id IS NOT NULL AND b1_.type <> ? AND c0_.is_new = ? AND c0_.city_id = ?
Parameters:
[
  3
  0
  1
]
6.83 ms
(7.78%)
16
SELECT COUNT(c0_.id) AS sclr_0 FROM car c0_ INNER JOIN brand b1_ ON c0_.brand_id = b1_.id WHERE LOWER(b1_.mark_id) = ? AND c0_.is_bought = false AND c0_.dealer_id IS NOT NULL AND c0_.city_id = ? AND c0_.is_new = ?
Parameters:
[
  "gac"
  1
  1
]
5.57 ms
(6.35%)
16
SELECT MIN(c0_.price) AS sclr_0 FROM car c0_ INNER JOIN brand b1_ ON c0_.brand_id = b1_.id WHERE LOWER(b1_.mark_id) = ? AND c0_.is_bought = false AND c0_.dealer_id IS NOT NULL AND c0_.city_id = ? AND c0_.is_new = ?
Parameters:
[
  "gac"
  1
  1
]
1.11 ms
(1.26%)
1
SELECT MIN(c0_.price) AS sclr_0 FROM car c0_ INNER JOIN brand b1_ ON c0_.brand_id = b1_.id WHERE c0_.is_bought = false AND c0_.dealer_id IS NOT NULL AND b1_.type <> ? AND c0_.is_new = ? AND c0_.city_id = ?
Parameters:
[
  3
  0
  1
]
1.04 ms
(1.18%)
1
SELECT b0_.id AS id_0, b0_.mark_id AS mark_id_1, b0_.image AS image_2, b0_.type AS type_3, b0_.external_id AS external_id_4, b0_.map_images AS map_images_5 FROM brand b0_ INNER JOIN brand_city b2_ ON b0_.id = b2_.brand_id INNER JOIN city c1_ ON c1_.id = b2_.city_id WHERE b0_.type IN (?, ?) AND c1_.id = ?
Parameters:
[
  1
  3
  "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\Brand 9

Entities Mapping

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