POST https://prod-api.callme4d.com/v1/order/filterordersbycaptain

Query Metrics

3 Database Queries
3 Different statements
39.20 ms Query time
4 Invalid entities
1 Managed entities

Queries

Group similar statements

# Time Info
1 0.39 ms
SELECT t0.id AS id_1, t0.user_id AS user_id_2, t0.roles AS roles_3, t0.password AS password_4, t0.verification_status AS verification_status_5, t0.status AS status_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8 FROM user_entity t0 WHERE t0.user_id = ? LIMIT 1
Parameters:
[
  "966501015574"
]
2 0.86 ms
SELECT o0_.id AS id_0, o0_.primary_order_id AS sclr_1 FROM order_entity o0_ WHERE o0_.primary_order_id <> ? ORDER BY o0_.id DESC
Parameters:
[
  ""
]
3 37.95 ms
SELECT o0_.id AS id_0, o0_.created_at AS created_at_1, o0_.delivery_date AS delivery_date_2, o0_.state AS state_3, o0_.order_is_main AS order_is_main_4, o0_.order_cost AS order_cost_5, o0_.payment AS payment_6, c1_.profit AS profit_7, s2_.name AS name_8, s3_.detail AS detail_9, o4_.store_branch_to_client_distance AS store_branch_to_client_distance_10, o4_.store_branch_to_client_duration AS store_branch_to_client_duration_11, o4_.captain_to_store_branch_distance AS captain_to_store_branch_distance_12, o4_.captain_to_store_branch_duration AS captain_to_store_branch_duration_13, o4_.dest_lat AS dest_lat_14, o4_.dest_lon AS dest_lon_15, o4_.dest_link AS dest_link_16, o4_.source_lat AS source_lat_17, o4_.source_lon AS source_lon_18, o4_.source_link AS source_link_19 FROM order_entity o0_ LEFT JOIN order_geo_entity o4_ ON (o4_.order_id_id = o0_.id) LEFT JOIN order_status_entity o5_ ON (o5_.order_id_id = o0_.id) LEFT JOIN captain_entity c6_ ON (c6_.id = o5_.captain_profile_id) LEFT JOIN captain_order_financial_entity c1_ ON (c1_.order_id_id = o0_.id) LEFT JOIN store_order_details_entity s3_ ON (o0_.id = s3_.order_id_id) LEFT JOIN store_owner_branch_entity s2_ ON (s2_.id = s3_.branch_id) WHERE o5_.is_hide = ? AND c6_.captain_id = ? AND o0_.state = ? AND (o0_.created_at BETWEEN ? AND ?) ORDER BY o0_.id DESC
Parameters:
[
  2
  4246
  "delivered"
  "2025-12-01 00:00:00"
  "2025-12-16 02:59:59"
]

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\UserEntity 1

Entities Mapping

Class Mapping errors
App\Entity\UserEntity No errors.
App\Entity\RateEntity
  • The mappings App\Entity\RateEntity#rated and App\Entity\UserEntity#rateEntities are inconsistent with each other.
App\Entity\VerificationEntity No errors.
App\Entity\ResetPasswordOrderEntity No errors.
App\Entity\NotificationFirebaseTokenEntity No errors.
App\Entity\OrderEntity
  • The mappings App\Entity\OrderEntity#OrderLogsEntity and App\Entity\OrderTimeLineEntity#orderId are inconsistent with each other.
App\Entity\OrderGeoEntity No errors.
App\Entity\OrderStatusEntity No errors.
App\Entity\CaptainEntity
  • The mappings App\Entity\CaptainEntity#OrderLogsEntity and App\Entity\OrderTimeLineEntity#captainProfile are inconsistent with each other.
  • The association App\Entity\CaptainEntity#deletedBy refers to the inverse side field App\Entity\AdminProfileEntity#deletedCaptainsProfiles which does not exist.
  • The mappings App\Entity\CaptainEntity#cityId and App\Entity\CityEntity#captains are inconsistent with each other.
App\Entity\CaptainOrderFinancialEntity No errors.
App\Entity\StoreOrderDetailsEntity No errors.
App\Entity\StoreOwnerBranchEntity
  • The mappings App\Entity\StoreOwnerBranchEntity#orderLogsEntity and App\Entity\OrderTimeLineEntity#storeOwnerBranch are inconsistent with each other.
  • The mappings App\Entity\StoreOwnerBranchEntity#cityId and App\Entity\CityEntity#stores are inconsistent with each other.