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

Query Metrics

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

Grouped Statements

Show all queries

Time Count Info
0.35 ms
(34.49%)
1
SELECT COUNT(*) AS num FROM `notifications` WHERE recipient = ? AND `read` = 0 AND creationDate >= ?
Parameters:
[
  89
  "2026-04-01 14:34:21"
]
0.19 ms
(18.43%)
1
SELECT id FROM `notifications` WHERE recipient = ? AND `read` = 0 AND creationDate >= ?  ORDER BY `creationDate` DESC LIMIT 1
Parameters:
[
  89
  "2026-04-01 14:34:21"
]
0.16 ms
(15.86%)
1
SELECT * FROM users WHERE `type` = ? AND id = ?
Parameters:
[
  "user"
  89
]
0.13 ms
(12.82%)
1
"START TRANSACTION"
Parameters:
[]
0.05 ms
(5.09%)
1
SELECT COUNT(*) AS num FROM `notifications` WHERE recipient = ? AND `read` = 0
Parameters:
[
  89
]
0.04 ms
(3.71%)
1
SELECT * FROM users_workspaces_asset WHERE userId = ?
Parameters:
[
  89
]
0.04 ms
(3.71%)
1
"COMMIT"
Parameters:
[]
0.03 ms
(2.94%)
1
SELECT * FROM users_workspaces_document WHERE userId = ?
Parameters:
[
  89
]
0.03 ms
(2.94%)
1
SELECT * FROM users_workspaces_object WHERE userId = ?
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