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

Query Metrics

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

Grouped Statements

Show all queries

Time Count Info
0.18 ms
(23.01%)
1
SELECT COUNT(*) AS num FROM `notifications` WHERE recipient = ? AND `read` = 0 AND creationDate >= ?
Parameters:
[
  89
  "2025-08-28 15:54:14"
]
0.17 ms
(22.73%)
1
SELECT id FROM `notifications` WHERE recipient = ? AND `read` = 0 AND creationDate >= ?  ORDER BY `creationDate` DESC LIMIT 1
Parameters:
[
  89
  "2025-08-28 15:54:14"
]
0.12 ms
(15.41%)
1
SELECT * FROM users WHERE `type` = ? AND id = ?
Parameters:
[
  "user"
  89
]
0.08 ms
(9.93%)
1
SELECT * FROM users_workspaces_asset WHERE userId = ?
Parameters:
[
  89
]
0.06 ms
(7.32%)
1
SELECT COUNT(*) AS num FROM `notifications` WHERE recipient = ? AND `read` = 0
Parameters:
[
  89
]
0.05 ms
(6.29%)
1
"COMMIT"
Parameters:
[]
0.04 ms
(5.76%)
1
SELECT * FROM users_workspaces_document WHERE userId = ?
Parameters:
[
  89
]
0.04 ms
(5.35%)
1
"START TRANSACTION"
Parameters:
[]
0.03 ms
(4.20%)
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