GET https://manager.crateflow.co.za/api/v1/vehicles

Query Metrics

13 Database Queries
3 Different statements
29.47 ms Query time
2 Invalid entities
25 Managed entities

Queries

Group similar statements

# Time Info
1 5.59 ms
SELECT t0.id AS id_1, t0.email AS email_2, t0.name AS name_3, t0.usertype AS usertype_4, t0.roles AS roles_5, t0.password AS password_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.company_id AS company_id_9, t0.user_task_id AS user_task_id_10 FROM "user" t0 WHERE t0.email = ? LIMIT 1
Parameters:
[
  "jon@jwag.co.za"
]
2 6.14 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.registration AS registration_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.driver_id AS driver_id_6, t0.company_id AS company_id_7 FROM vehicle t0
Parameters:
[]
3 3.16 ms
SELECT t0.id AS id_1, t0.email AS email_2, t0.name AS name_3, t0.usertype AS usertype_4, t0.roles AS roles_5, t0.password AS password_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.company_id AS company_id_9, t0.user_task_id AS user_task_id_10 FROM "user" t0 WHERE t0.id = ?
Parameters:
[
  11
]
4 1.82 ms
SELECT t0.id AS id_1, t0.email AS email_2, t0.name AS name_3, t0.usertype AS usertype_4, t0.roles AS roles_5, t0.password AS password_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.company_id AS company_id_9, t0.user_task_id AS user_task_id_10 FROM "user" t0 WHERE t0.id = ?
Parameters:
[
  5
]
5 1.16 ms
SELECT t0.id AS id_1, t0.email AS email_2, t0.name AS name_3, t0.usertype AS usertype_4, t0.roles AS roles_5, t0.password AS password_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.company_id AS company_id_9, t0.user_task_id AS user_task_id_10 FROM "user" t0 WHERE t0.id = ?
Parameters:
[
  8
]
6 2.91 ms
SELECT t0.id AS id_1, t0.email AS email_2, t0.name AS name_3, t0.usertype AS usertype_4, t0.roles AS roles_5, t0.password AS password_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.company_id AS company_id_9, t0.user_task_id AS user_task_id_10 FROM "user" t0 WHERE t0.id = ?
Parameters:
[
  9
]
7 2.40 ms
SELECT t0.id AS id_1, t0.email AS email_2, t0.name AS name_3, t0.usertype AS usertype_4, t0.roles AS roles_5, t0.password AS password_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.company_id AS company_id_9, t0.user_task_id AS user_task_id_10 FROM "user" t0 WHERE t0.id = ?
Parameters:
[
  4
]
8 0.94 ms
SELECT t0.id AS id_1, t0.email AS email_2, t0.name AS name_3, t0.usertype AS usertype_4, t0.roles AS roles_5, t0.password AS password_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.company_id AS company_id_9, t0.user_task_id AS user_task_id_10 FROM "user" t0 WHERE t0.id = ?
Parameters:
[
  12
]
9 0.56 ms
SELECT t0.id AS id_1, t0.email AS email_2, t0.name AS name_3, t0.usertype AS usertype_4, t0.roles AS roles_5, t0.password AS password_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.company_id AS company_id_9, t0.user_task_id AS user_task_id_10 FROM "user" t0 WHERE t0.id = ?
Parameters:
[
  14
]
10 0.59 ms
SELECT t0.id AS id_1, t0.email AS email_2, t0.name AS name_3, t0.usertype AS usertype_4, t0.roles AS roles_5, t0.password AS password_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.company_id AS company_id_9, t0.user_task_id AS user_task_id_10 FROM "user" t0 WHERE t0.id = ?
Parameters:
[
  13
]
11 3.17 ms
SELECT t0.id AS id_1, t0.email AS email_2, t0.name AS name_3, t0.usertype AS usertype_4, t0.roles AS roles_5, t0.password AS password_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.company_id AS company_id_9, t0.user_task_id AS user_task_id_10 FROM "user" t0 WHERE t0.id = ?
Parameters:
[
  15
]
12 0.82 ms
SELECT t0.id AS id_1, t0.email AS email_2, t0.name AS name_3, t0.usertype AS usertype_4, t0.roles AS roles_5, t0.password AS password_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.company_id AS company_id_9, t0.user_task_id AS user_task_id_10 FROM "user" t0 WHERE t0.id = ?
Parameters:
[
  18
]
13 0.20 ms
SELECT t0.id AS id_1, t0.email AS email_2, t0.name AS name_3, t0.usertype AS usertype_4, t0.roles AS roles_5, t0.password AS password_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.company_id AS company_id_9, t0.user_task_id AS user_task_id_10 FROM "user" t0 WHERE t0.id = ?
Parameters:
[
  20
]

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\User 12
App\Entity\Vehicle 12
App\Entity\Company 1

Entities Mapping

Class Mapping errors
App\Entity\User
  • The field App\Entity\User#userTask is on the owning side of a bi-directional relationship, but the specified inversedBy association on the target-entity App\Entity\UserTask#taskUser does not contain the required 'mappedBy="userTask"' attribute.
  • If association App\Entity\User#userTask is many-to-one, then the inversed side App\Entity\UserTask#taskUser has to be one-to-many.
App\Entity\Company No errors.
App\Entity\UserTask
  • The association App\Entity\UserTask#taskUser refers to the inverse side field App\Entity\User#user_tasks which does not exist.
App\Entity\Transit No errors.
App\Entity\Timelog No errors.
App\Entity\Vehicle No errors.