https://www.dima.dev.slivki.by/mobile/api/v2/work_examples?categoryId=54&page=1&perPage=40&sortField=distance

Query Metrics

4 Database Queries
4 Different statements
50.21 ms Query time
4 Invalid entities

Queries

Group similar statements

site connection

# Time Info
1 4.86 ms
SELECT t0.created_on AS created_on_1, t0.entity_id AS entity_id_2, t0.active AS active_3, t0.resource_url AS resource_url_4, t0.main_alias AS main_alias_5, t0.title AS title_6, t0.meta_title AS meta_title_7, t0.meta_description AS meta_description_8, t0.page_description AS page_description_9, t0.meta_keywords AS meta_keywords_10, t0.domain AS domain_11, t0.id AS id_12 FROM seo t0 WHERE t0.domain = ? AND t0.main_alias = ? AND t0.active = ? ORDER BY t0.id DESC LIMIT 1
Parameters:
[
  "www"
  "/mobile/api/v2/work_examples"
  1
]
2 0.84 ms
SELECT t0.created_on AS created_on_1, t0.entity_id AS entity_id_2, t0.active AS active_3, t0.resource_url AS resource_url_4, t0.main_alias AS main_alias_5, t0.title AS title_6, t0.meta_title AS meta_title_7, t0.meta_description AS meta_description_8, t0.page_description AS page_description_9, t0.meta_keywords AS meta_keywords_10, t0.domain AS domain_11, t0.id AS id_12 FROM seo t0 WHERE t0.main_alias = ? ORDER BY t0.id DESC
Parameters:
[
  "/mobile/api/v2/work_examples"
]
3 27.94 ms
SELECT count(DISTINCT w0_.id) AS sclr_0 FROM work_example w0_ INNER JOIN offer o1_ ON w0_.offer_id = o1_.id INNER JOIN work_example_location_relation w3_ ON w0_.id = w3_.work_example_id INNER JOIN geo_location g2_ ON g2_.id = w3_.location_id AND g2_.type IN ('1') INNER JOIN category2entity c5_ ON o1_.id = c5_.entity_id INNER JOIN category c4_ ON c4_.id = c5_.category_id AND c4_.type IN ('0') WHERE o1_.active = ? AND o1_.hidden = ? AND (CURRENT_TIMESTAMP BETWEEN o1_.active_since AND o1_.active_till) AND c4_.id = ? GROUP BY w0_.created_at, w0_.image_url, w0_.description, w0_.price, w0_.id, w0_.offer_id, w0_.beauty_master_id
Parameters:
[
  1
  0
  54
]
4 16.58 ms
SELECT DISTINCT w0_.id AS id_0, 0 AS sclr_1 FROM work_example w0_ INNER JOIN offer o1_ ON w0_.offer_id = o1_.id INNER JOIN work_example_location_relation w3_ ON w0_.id = w3_.work_example_id INNER JOIN geo_location g2_ ON g2_.id = w3_.location_id AND g2_.type IN ('1') INNER JOIN category2entity c5_ ON o1_.id = c5_.entity_id INNER JOIN category c4_ ON c4_.id = c5_.category_id AND c4_.type IN ('0') WHERE o1_.active = ? AND o1_.hidden = ? AND (CURRENT_TIMESTAMP BETWEEN o1_.active_since AND o1_.active_till) AND c4_.id = ? GROUP BY w0_.created_at, w0_.image_url, w0_.description, w0_.price, w0_.id, w0_.offer_id, w0_.beauty_master_id ORDER BY sclr_1 DESC LIMIT 40
Parameters:
[
  1
  0
  54
]

admin connection

No database queries were performed.

subscription connection

No database queries were performed.

default connection

No database queries were performed.

Database Connections

Name Service
site doctrine.dbal.site_connection
admin doctrine.dbal.admin_connection
subscription doctrine.dbal.subscription_connection
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager
admin doctrine.orm.admin_entity_manager
subscription doctrine.orm.subscription_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

default entity manager

Class Mapping errors
Slivki\Entity\City No errors.
Slivki\Entity\PartnerMailingCampaignAction No errors.
Slivki\Entity\Seo No errors.
Slivki\Entity\Media\AbstractMediaBase No errors.
Slivki\Entity\Media No errors.
Slivki\Entity\WorkExample No errors.
Slivki\Entity\Offer
  • The mappings Slivki\Entity\Offer#shareClick and Slivki\Entity\OfferShareClick#offer are inconsistent with each other.
  • The association Slivki\Entity\Offer#phoneCoverClick refers to the owning side field Slivki\Entity\PhoneCoverClick#offer which does not exist.
  • The mappings Slivki\Entity\Offer#teaserMedias and Slivki\Entity\Media\OfferTeaserMedia#offer are inconsistent with each other.
  • The mappings Slivki\Entity\Offer#mobileTeaserMedias and Slivki\Entity\Media\OfferMobileTeaserMedia#offer are inconsistent with each other.
  • The mappings Slivki\Entity\Offer#appTeaserMedias and Slivki\Entity\Media\OfferAppTeaserMedia#offer are inconsistent with each other.
  • The mappings Slivki\Entity\Offer#topBlockMedias and Slivki\Entity\Media\OfferTopBlockMedia#offer are inconsistent with each other.
  • The mappings Slivki\Entity\Offer#topBlockMobileMedias and Slivki\Entity\Media\OfferTopBlockMobileMedia#offer are inconsistent with each other.
  • The mappings Slivki\Entity\Offer#mailingTeaserMedias and Slivki\Entity\Media\OfferMailingTeaserMedia#offer are inconsistent with each other.
  • The mappings Slivki\Entity\Offer#giftCertificatePdfBgMedias and Slivki\Entity\Media\GiftCertificatePdfBgMedia#offer are inconsistent with each other.
  • The mappings Slivki\Entity\Offer#supplierPhotoMedias and Slivki\Entity\Media\OfferSupplierPhotoMedia#offer are inconsistent with each other.
  • The mappings Slivki\Entity\Offer#creator and Slivki\Entity\User#createdOffers are inconsistent with each other.
Slivki\Entity\AbstractGeoLocationBase No errors.
Slivki\Entity\GeoLocation
  • The field Slivki\Entity\GeoLocation#offers is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity Slivki\Entity\Offer#geoLocations does not contain the required 'inversedBy="offers"' attribute.
  • The field Slivki\Entity\GeoLocation#giftCertificate is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity Slivki\Entity\GiftCertificate#geoLocations does not contain the required 'inversedBy="giftCertificate"' attribute.
Slivki\Entity\AbstractCategoryBase No errors.
Slivki\Entity\Category
  • The field Slivki\Entity\Category#brandingBanners is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity Slivki\Entity\BrandingBanner#categories does not contain the required 'inversedBy="brandingBanners"' attribute.
Slivki\Entity\Banner\AbstractBannerBase No errors.
Slivki\Entity\Banner\AbstractMobileAppBanner
  • Entity class 'Slivki\Entity\Banner\AbstractMobileAppBanner' is part of inheritance hierarchy, but is not mapped in the root entity 'Slivki\Entity\Banner\AbstractBannerBase' discriminator map. All subclasses must be listed in the discriminator map.
Slivki\Entity\Banner No errors.
Slivki\Entity\ServerFeatureState No errors.

admin entity manager

No loaded entities.

subscription entity manager

No loaded entities.