https://pim.develey.blackbit.io/admin/notification/find-last-unread?_dc=1775044784904&lastUpdate=1775044754

Query Metrics

9 Database Queries
9 Different statements
3.67 ms Query time
0 Invalid entities

Queries

Group similar statements

# Time Info
1 0.19 ms
SELECT * FROM users WHERE `type` = ? AND id = ?
Parameters:
[
  "user"
  89
]
2 1.29 ms
SELECT * FROM users_workspaces_asset WHERE userId = ?
Parameters:
[
  89
]
3 0.06 ms
SELECT * FROM users_workspaces_document WHERE userId = ?
Parameters:
[
  89
]
4 0.04 ms
SELECT * FROM users_workspaces_object WHERE userId = ?
Parameters:
[
  89
]
5 0.10 ms
"START TRANSACTION"
Parameters:
[]
6 1.21 ms
SELECT COUNT(*) AS num FROM `notifications` WHERE recipient = ? AND `read` = 0 AND creationDate >= ?
Parameters:
[
  89
  "2026-04-01 13:59:14"
]
7 0.33 ms
SELECT id FROM `notifications` WHERE recipient = ? AND `read` = 0 AND creationDate >= ?  ORDER BY `creationDate` DESC LIMIT 1
Parameters:
[
  89
  "2026-04-01 13:59:14"
]
8 0.06 ms
"COMMIT"
Parameters:
[]
9 0.39 ms
SELECT COUNT(*) AS num FROM `notifications` WHERE recipient = ? AND `read` = 0
Parameters:
[
  89
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

There are no configured entity managers.

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping