GET http://bandoo-dev.ru/api/user/notifications?data%5Bpage%5D=1&data%5BmaxPerPage%5D=100

Query Metrics

5 Database Queries
5 Different statements
13.97 ms Query time
5 Invalid entities
14 Managed entities

Queries

Group similar statements

# Time Info
1 6.45 ms
SELECT u0_.id AS id_0, u0_.public_number AS public_number_1, u0_.date AS date_2, u0_.email AS email_3, u0_.phone AS phone_4, u0_.phone_numeric AS phone_numeric_5, u0_.privacy_mask AS privacy_mask_6, u0_.push_settings_mask AS push_settings_mask_7, u0_.publish_daily_count AS publish_daily_count_8, u0_.publish_daily_at AS publish_daily_at_9, u0_.settings AS settings_10, u0_.password AS password_11, u0_.about AS about_12, u0_.stuff AS stuff_13, u0_.vk_code_verifier AS vk_code_verifier_14, u0_.vk_id AS vk_id_15, u0_.vk_avatar AS vk_avatar_16, u0_.vk_profile_imported AS vk_profile_imported_17, u0_.vk_confirmed AS vk_confirmed_18, u0_.first_jwt_at AS first_jwt_at_19, u0_.new_email AS new_email_20, u0_.new_email_token AS new_email_token_21, u0_.status AS status_22, u0_.block_reason AS block_reason_23, u0_.role AS role_24, u0_.last_visit_at AS last_visit_at_25, u0_.activity_status AS activity_status_26, u0_.confirm_token_token AS confirm_token_token_27, u0_.confirm_token_expires AS confirm_token_expires_28, u0_.name_first AS name_first_29, u0_.name_last AS name_last_30, u0_.name_middle AS name_middle_31, u0_.avatar_small_hash AS avatar_small_hash_32, u0_.avatar_original_hash AS avatar_original_hash_33, u0_.reset_token_token AS reset_token_token_34, u0_.reset_token_expires AS reset_token_expires_35, u0_.city_id AS city_id_36 FROM "user_users" u0_ WHERE u0_.email = ?
Parameters:
[
  "usmian@yandex.ru"
]
2 4.52 ms
SELECT DISTINCT id_0, MIN(sclr_6) AS dctrn_minrownum FROM (SELECT u0_.id AS id_0, u0_.type AS type_1, u0_.entity_id AS entity_id_2, u0_.is_viewed AS is_viewed_3, u0_.payload AS payload_4, u0_.created_at AS created_at_5, ROW_NUMBER() OVER(ORDER BY u0_.is_viewed ASC, u0_.created_at DESC) AS sclr_6 FROM "user_user_notifications" u0_ WHERE u0_.user_id = ?) dctrn_result GROUP BY id_0 ORDER BY dctrn_minrownum ASC LIMIT 100
Parameters:
[
  "019efb3d-4132-79dd-abed-2f5eb76ecd0c"
]
3 0.90 ms
SELECT u0_.id AS id_0, u0_.type AS type_1, u0_.entity_id AS entity_id_2, u0_.is_viewed AS is_viewed_3, u0_.payload AS payload_4, u0_.created_at AS created_at_5, u0_.user_id AS user_id_6 FROM "user_user_notifications" u0_ WHERE u0_.user_id = ? AND u0_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ORDER BY u0_.is_viewed ASC, u0_.created_at DESC
Parameters:
[
  "019efb3d-4132-79dd-abed-2f5eb76ecd0c"
  "01a04499-f2b8-7f61-bc52-a5167e84f5e6"
  "01a04499-d7ac-778a-b3a4-8e3fb8e9dfc4"
  "01a04486-1462-71d4-b660-bd16cc2948c3"
  "01a03a8a-e0b1-774b-b669-75848792bdfa"
  "01a02bb9-8e01-7bb1-963d-9a8c2f87f7a1"
  "01a02ba1-17ad-7266-8e88-7610806ad100"
  "01a02a60-d1d0-7b90-88bc-899bd00a5802"
  "01a02011-6b10-74b6-b774-7a84f33275b6"
  "01a00b48-0ec6-73f9-bf9a-4c9715c18e36"
  "019fd58c-0686-7bf7-b639-2c2a746076cd"
  "019fd307-b171-718a-abf1-19d5bce4543d"
  "019fcdf6-6627-7b69-bd1f-5e59a5716ae0"
]
4 1.47 ms
SELECT i.id, i.status FROM item_items i WHERE i.id IN (?, ?, ?)
Parameters:
[
  "01a025de-785b-779d-be93-4ea079f6e122"
  "01a01f9e-e579-7607-a04f-f6ce81f8c5fe"
  "019de498-d869-0ac7-7171-0b23db391559"
]
5 0.64 ms
SELECT COUNT(*) AS dctrn_count FROM (SELECT DISTINCT id_0 FROM (SELECT u0_.id AS id_0, u0_.type AS type_1, u0_.entity_id AS entity_id_2, u0_.is_viewed AS is_viewed_3, u0_.payload AS payload_4, u0_.created_at AS created_at_5 FROM "user_user_notifications" u0_ WHERE u0_.user_id = ? ORDER BY u0_.is_viewed ASC, u0_.created_at DESC) dctrn_result) dctrn_table
Parameters:
[
  "019efb3d-4132-79dd-abed-2f5eb76ecd0c"
]

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\Model\User\Entity\Notification\UserNotification 12
App\Model\User\Entity\User 1
App\Model\City\Entity\CityReference 1

Entities Mapping

Class Mapping errors
App\Model\User\Entity\ConfirmToken No errors.
App\Model\User\Entity\Name No errors.
App\Model\User\Entity\Avatar No errors.
App\Model\User\Entity\ResetToken No errors.
App\Model\User\Entity\User
  • The field 'App\Model\User\Entity\User#phoneNumeric' has the property type 'int' that differs from the metadata field type 'string' returned by the 'bigint' DBAL type.
App\Model\City\Entity\CityReference
  • The field 'App\Model\City\Entity\CityReference#foundationYear' has the property type 'int' that differs from the metadata field type 'string' returned by the 'string' DBAL type.
App\Model\User\Entity\Network\Network No errors.
App\Model\User\Entity\Review\Reply No errors.
App\Model\User\Entity\Review\Review No errors.
App\Model\User\Entity\Achievement\Achievement No errors.
App\Model\User\Entity\Photo No errors.
App\Model\User\Entity\Video No errors.
App\Model\User\Entity\Audio
  • The field 'App\Model\User\Entity\Audio#duration' has the property type 'int' that differs from the metadata field type 'string' returned by the 'bigint' DBAL type.
App\Model\User\Entity\Album No errors.
App\Model\User\Entity\Link\Link No errors.
App\Model\User\Entity\Like\Like No errors.
App\Model\User\Entity\Viewed\Viewed No errors.
App\Model\User\Entity\Favorite\Favorite No errors.
App\Model\User\Entity\FavoriteUser\FavoriteUser No errors.
App\Model\User\Entity\Message\MessageStatus No errors.
App\Model\User\Entity\Message\Message No errors.
App\Model\User\Entity\Instrument\UserInstrument No errors.
App\Model\User\Entity\FcmToken\UserFcmToken No errors.
App\Model\User\Entity\Notification\UserNotification
  • The association App\Model\User\Entity\Notification\UserNotification#user refers to the inverse side field App\Model\User\Entity\User#notifications which does not exist.
App\Model\Item\Entity\RejectReason\RejectReason No errors.
App\Model\Item\Entity\Up No errors.
App\Model\Item\Entity\Job No errors.
App\Model\Item\Entity\Item
  • The field App\Model\Item\Entity\Item#claims is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Model\Item\Entity\Claim\ItemClaim#item does not contain the required 'inversedBy="claims"' attribute.
  • The field App\Model\Item\Entity\Item#promotions is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Model\Item\Entity\Promotion\ItemPromotion#item does not contain the required 'inversedBy="promotions"' attribute.