POST http://dev-cleanfy.cozystay.com/graphql/

Query Metrics

20 Database Queries
17 Different statements
1149.25 ms Query time
0 Invalid entities
23 Managed entities

Grouped Statements

Show all queries

Time Count Info
146.30 ms
(12.73%)
1
SELECT a.id, a.action, a.task_id AS "taskId",
                   t.type AS "taskType",
                   p.nickname AS "propertyName",
                   a.performed_by_id AS "performedById",
                   a.created_at AS "createdAt"
            FROM task_audit_log a
            INNER JOIN task t ON t.id = a.task_id
            LEFT JOIN property p ON p.id = t.listing_id
            WHERE a.action IN ('CREATED', 'ASSIGNED', 'COMPLETED', 'STATUS_CHANGED', 'INSPECTED') AND t.company_id = ?
            ORDER BY a.created_at DESC
            LIMIT ?
Parameters:
[
  1
  10
]
145.64 ms
(12.67%)
1
SELECT COUNT(t0_.id) AS sclr_0 FROM task t0_ WHERE (t0_.status IN (?, ?) AND t0_.is_deleted = false AND t0_.company_id = ?) AND t0_.type IN ('CHECK_OUT', 'CHECK_IN', 'ONE_TIME_CLEANING', 'MAINTENANCE')
Parameters:
[
  "TODO"
  "ASSIGNED"
  1
]
103.07 ms
(8.97%)
3
SELECT a0_.id AS id_0, a0_.role AS role_1, a0_.scope AS scope_2, a0_.is_active AS is_active_3, a0_.created_at AS created_at_4, a0_.account_id AS account_id_5, a0_.company_id AS company_id_6, a0_.team_id AS team_id_7 FROM account_role a0_ WHERE a0_.account_id = ? AND a0_.is_active = true
Parameters:
[
  451
]
84.93 ms
(7.39%)
1
SELECT COUNT(t0_.id) AS sclr_0 FROM task t0_ WHERE (t0_.todo_date < ? AND t0_.status NOT IN (?, ?) AND t0_.is_deleted = false AND t0_.company_id = ?) AND t0_.type IN ('CHECK_OUT', 'CHECK_IN', 'ONE_TIME_CLEANING', 'MAINTENANCE')
Parameters:
[
  "2026-06-08 00:00:00"
  "COMPLETED"
  "CANCELLED"
  1
]
78.47 ms
(6.83%)
1
SELECT t0_.id AS id_0, t0_.order_id AS order_id_1, t0_.todo_date AS todo_date_2, t0_.status AS status_3, t0_.priority AS priority_4, t0_.assignee_id AS assignee_id_5, t0_.created_at AS created_at_6, t0_.company_id AS company_id_7, t0_.listing_id AS listing_id_8, t0_.related_task_id AS related_task_id_9, t0_.reported_by AS reported_by_10, t0_.team_id AS team_id_11, t0_.started_at AS started_at_12, t0_.completed_at AS completed_at_13, t0_.completed_by AS completed_by_14, t0_.estimated_duration AS estimated_duration_15, t0_.actual_duration AS actual_duration_16, t0_.updated_at AS updated_at_17, t0_.inspection_status AS inspection_status_18, t0_.inspected_by AS inspected_by_19, t0_.inspected_at AS inspected_at_20, t0_.source_issue_id AS source_issue_id_21, t0_.cancelled_at AS cancelled_at_22, t0_.due_at AS due_at_23, t0_.unit_price AS unit_price_24, t0_.is_deleted AS is_deleted_25, t0_.checkout_time AS checkout_time_26, t0_.guest_name AS guest_name_27, t0_.number_of_guests AS number_of_guests_28, t0_.next_checkin_time AS next_checkin_time_29, t0_.damage_check_completed AS damage_check_completed_30, t0_.checkin_time AS checkin_time_31, t0_.guest_name AS guest_name_32, t0_.number_of_guests AS number_of_guests_33, t0_.maintenance_type AS maintenance_type_34, t0_.actual_cost AS actual_cost_35, t0_.vendor_name AS vendor_name_36, t0_.vendor_phone AS vendor_phone_37, t0_.type AS type_38 FROM task t0_ WHERE (t0_.todo_date >= ? AND t0_.status IN (?, ?, ?) AND t0_.is_deleted = false AND t0_.company_id = ?) AND t0_.type IN ('CHECK_OUT', 'CHECK_IN', 'ONE_TIME_CLEANING', 'MAINTENANCE') ORDER BY t0_.todo_date ASC LIMIT 5
Parameters:
[
  "2026-06-08 00:00:00"
  "TODO"
  "ASSIGNED"
  "ACCEPTED"
  1
]
75.95 ms
(6.61%)
1
SELECT COUNT(t0_.id) AS sclr_0 FROM task t0_ WHERE (t0_.status IN (?) AND t0_.is_deleted = false AND t0_.company_id = ?) AND t0_.type IN ('CHECK_OUT', 'CHECK_IN', 'ONE_TIME_CLEANING', 'MAINTENANCE')
Parameters:
[
  "IN_PROGRESS"
  1
]
75.79 ms
(6.59%)
1
SELECT COUNT(t0_.id) AS sclr_0 FROM task t0_ WHERE (t0_.status = ? AND t0_.inspection_status = ? AND t0_.is_deleted = false AND ((t0_.type IN ('CHECK_OUT') OR t0_.type IN ('ONE_TIME_CLEANING'))) AND t0_.company_id = ?) AND t0_.type IN ('CHECK_OUT', 'CHECK_IN', 'ONE_TIME_CLEANING', 'MAINTENANCE')
Parameters:
[
  "COMPLETED"
  "PENDING"
  1
]
73.85 ms
(6.43%)
1
SELECT COUNT(t0_.id) AS sclr_0 FROM task t0_ WHERE (t0_.status = ? AND t0_.completed_at >= ? AND t0_.completed_at < ? AND t0_.is_deleted = false AND t0_.company_id = ?) AND t0_.type IN ('CHECK_OUT', 'CHECK_IN', 'ONE_TIME_CLEANING', 'MAINTENANCE')
Parameters:
[
  "COMPLETED"
  "2026-06-08 00:00:00"
  "2026-06-09 00:00:00"
  1
]
69.59 ms
(6.06%)
2
SELECT t0.id AS id_1, t0.email AS email_2, t0.full_name AS full_name_3, t0.password AS password_4, t0.is_active AS is_active_5, t0.created_at AS created_at_6, t0.contact_info AS contact_info_7, t0.timezone AS timezone_8, t0.current_company_id AS current_company_id_9, t0.current_team_id AS current_team_id_10 FROM account t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
  451
]
44.04 ms
(3.83%)
1
SELECT a0_.id AS id_0, a0_.email AS email_1, a0_.full_name AS full_name_2, a0_.password AS password_3, a0_.is_active AS is_active_4, a0_.created_at AS created_at_5, a0_.contact_info AS contact_info_6, a0_.timezone AS timezone_7, a0_.current_company_id AS current_company_id_8, a0_.current_team_id AS current_team_id_9 FROM account a0_ WHERE a0_.id IN (?, ?, ?, ?, ?, ?)
Parameters:
[
  450
  446
  403
  421
  420
  426
]
41.94 ms
(3.65%)
1
SELECT t0.id AS id_1, t0.account_id AS account_id_2, t0.expires_in AS expires_in_3, t0.token AS token_4, t0.created_at AS created_at_5 FROM access_token t0 WHERE t0.token = ? LIMIT 1
Parameters:
[
  "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3ODA5NjM3NjUsImV4cCI6MTc4MjI1OTc2NSwicm9sZXMiOlsiUk9MRV9NRU1CRVIiXSwidXNlcm5hbWUiOiJ0ZXJyeUBjb3p5c3RheS5jb20ifQ.RK47e852vWaDZKrm2QAN2zIqI7Z7bbkduM5XkZgLs_XDJL_Y59HZziQ98GK1kUGcGDfhVAR9p-GL0CIEYLoKJmyR49k4PiWq5J32gIZWLYHaBMUy4zaMiiNKSs6TUXB1qEEPmC1VBiTWYG-hNXaZpyib3SVUPABX2xFfwkF0qIE86312V4H5DdZddC5wiwtlGiz64kQacy9g8tvhFXAvzSmeN_3TIaZWnrFekbpePeX7DxXeeEGfGTtnJL0B8aYBZNulozqkQtU1B4gcGQWuNWvG39llFWs6e_YsP0Cpcale0HLq-MuNOXLp9Ig_Os1l4Q7P7YaHrXnVdjs_9IBExQ"
]
36.24 ms
(3.15%)
1
SELECT COUNT(p0_.id) AS sclr_0 FROM property p0_ WHERE p0_.team_id IS NULL AND p0_.company_id = ?
Parameters:
[
  1
]
36.09 ms
(3.14%)
1
SELECT COUNT(i0_.id) AS sclr_0 FROM issue i0_ INNER JOIN property p1_ ON (i0_.property_id = p1_.id) WHERE i0_.status = ? AND i0_.code LIKE ? AND p1_.company_id = ?
Parameters:
[
  "OPEN"
  "DAMAGE%"
  1
]
35.02 ms
(3.05%)
1
SELECT p0_.id AS id_0, p0_.address AS address_1, p0_.nickname AS nickname_2, p0_.price AS price_3, p0_.pet_fee AS pet_fee_4, p0_.deposit_fee AS deposit_fee_5, p0_.cleaning_fee AS cleaning_fee_6, p0_.room_type AS room_type_7, p0_.house_rules AS house_rules_8, p0_.minimal_stay AS minimal_stay_9, p0_.maximum_stay AS maximum_stay_10, p0_.accommodates AS accommodates_11, p0_.room_area AS room_area_12, p0_.number_of_beds AS number_of_beds_13, p0_.number_of_rooms AS number_of_rooms_14, p0_.number_of_bathrooms AS number_of_bathrooms_15, p0_.access_code AS access_code_16, p0_.timezone AS timezone_17, p0_.company_id AS company_id_18, p0_.assignee_id AS assignee_id_19, p0_.team_id AS team_id_20, p0_.is_active AS is_active_21, p0_.need_key AS need_key_22, p0_.latitude AS latitude_23, p0_.longitude AS longitude_24, p0_.has_living_room AS has_living_room_25, p0_.has_kitchen AS has_kitchen_26, p0_.has_garbage_bin AS has_garbage_bin_27, p0_.new_cleaning_fee AS new_cleaning_fee_28, p0_.cleaning_fee_effective_date AS cleaning_fee_effective_date_29, p0_.created_at AS created_at_30 FROM property p0_ WHERE p0_.id IN (?, ?, ?, ?, ?)
Parameters:
[
  2268
  1753
  2174
  2221
  2257
]
34.86 ms
(3.03%)
1
"COMMIT"
Parameters:
[]
34.29 ms
(2.98%)
1
UPDATE account SET timezone = ? WHERE id = ?
Parameters:
[
  "America/Vancouver"
  451
]
33.18 ms
(2.89%)
1
"START TRANSACTION"
Parameters:
[]

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\Account 7
App\Entity\Task 5
App\Entity\Property 5
App\Entity\Team 3
App\Entity\AccessToken 1
App\Entity\Company 1
App\Entity\AccountRole 1

Entities Mapping