POST https://intranet.makro-nd.cz/api/attendance/self-open

Query Metrics

13 Database Queries
10 Different statements
4.90 ms Query time
0 Invalid entities
0 Managed entities

Queries

Group similar statements

# Time Info
1 0.07 ms
SELECT * FROM system_session WHERE identifier = ?
Parameters:
[
  "ad313f4f7e9404b1bd3076df5a1d1b8cab8398b990a6a31f2a29b57170e54691"
]
2 0.08 ms
SELECT * FROM system_users
Parameters:
[]
3 0.05 ms
SELECT * FROM system_session WHERE identifier = ?
Parameters:
[
  "ad313f4f7e9404b1bd3076df5a1d1b8cab8398b990a6a31f2a29b57170e54691"
]
4 1.89 ms
UPDATE system_session SET last_activity = NOW() WHERE identifier = ?
Parameters:
[
  "ad313f4f7e9404b1bd3076df5a1d1b8cab8398b990a6a31f2a29b57170e54691"
]
5 0.53 ms
SELECT * FROM system_session WHERE identifier = ?
Parameters:
[
  "ad313f4f7e9404b1bd3076df5a1d1b8cab8398b990a6a31f2a29b57170e54691"
]
6 0.29 ms
SELECT user_id, permission FROM user_permissions
Parameters:
[]
7 0.10 ms
CREATE TABLE IF NOT EXISTS attendance_month_locks (
                    month VARCHAR(7) NOT NULL PRIMARY KEY, -- format 'YYYY-MM'

                    locked_at DATETIME NOT NULL,
                    locked_by INT NULL,
                    created_at DATETIME NOT NULL
                ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
Parameters:
[]
8 0.10 ms
SELECT 1 FROM attendance_month_locks WHERE month = ? LIMIT 1
Parameters:
[
  "2026-02"
]
9 0.27 ms
SELECT * FROM attendance_entries WHERE user_id = ? AND end_at IS NULL ORDER BY start_at DESC LIMIT 1
Parameters:
[
  105
]
10 0.64 ms
INSERT INTO attendance_entries (user_id, start_at, source, created_at, updated_at) VALUES (?, ?, ?, ?, ?)
Parameters:
[
  105
  "2026-02-22 18:00:00"
  "manual"
  "2026-02-22 18:05:07"
  "2026-02-22 18:05:07"
]
11 0.47 ms
SELECT id FROM attendance_days WHERE user_id = ? AND date = ?
Parameters:
[
  105
  "2026-02-22"
]
12 0.38 ms
INSERT INTO attendance_days (user_id, date, break_minutes, work_minutes_sum, created_at, updated_at) VALUES (?, ?, ?, ?, ?, ?)
Parameters:
[
  105
  "2026-02-22"
  0
  0
  "2026-02-22 18:05:08"
  "2026-02-22 18:05:08"
]
13 0.04 ms
SELECT * FROM system_session WHERE identifier = ?
Parameters:
[
  "ad313f4f7e9404b1bd3076df5a1d1b8cab8398b990a6a31f2a29b57170e54691"
]

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.

Managed Entities

No managed entities.

Entities Mapping

No mapped entities.