GET https://globus.byteran.com/notifications/count

Query Metrics

2 Database Queries
2 Different statements
3.24 ms Query time
0 Invalid entities
2 Managed entities

Grouped Statements

Show all queries

Time Count Info
1.67 ms
(51.51%)
1
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.is_verified AS is_verified_5, t0.verification_email_attempts AS verification_email_attempts_6, t0.last_verification_email_sent_at AS last_verification_email_sent_at_7, t0.verification_email_blocked AS verification_email_blocked_8, t9.id AS id_10, t9.first_name AS first_name_11, t9.last_name AS last_name_12, t9.phone AS phone_13, t9.date_of_birth AS date_of_birth_14, t9.country AS country_15, t9.city AS city_16, t9.post_code AS post_code_17, t9.state AS state_18, t9.address AS address_19, t9.user_name AS user_name_20, t9.hide_email AS hide_email_21, t9.hide_phone AS hide_phone_22, t9.display_user_name_only AS display_user_name_only_23, t9.user_id AS user_id_24 FROM "user" t0 LEFT JOIN user_info t9 ON t9.user_id = t0.id WHERE t0.id = ?
Parameters:
[
  1
]
1.57 ms
(48.49%)
1
SELECT COUNT(n0_.id) AS sclr_0 FROM notification n0_ LEFT JOIN company c1_ ON n0_.company_id = c1_.id LEFT JOIN user_company_permission u2_ ON (u2_.company_id = c1_.id AND u2_.user_id = ?) WHERE (n0_.user_id = ? AND n0_.viewed_at IS NULL) OR ((n0_.type = ? AND u2_.can_view = true AND u2_.user_status = 1 AND n0_.viewed_at IS NULL))
Parameters:
[
  1
  1
  "company"
]

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\User 1
App\Entity\UserInfo 1

Entities Mapping

Class Mapping errors
App\Entity\User No errors.
App\Entity\UserInfo No errors.
App\Entity\UserCompanyPermission No errors.
App\Entity\UserBvpzSubscription No errors.
App\Entity\Notification No errors.
App\Entity\Company No errors.