GET https://tst-app.vina-lab.fr/api/orders?api%2Forders=

Query Metrics

47 Database Queries
9 Different statements
11.21 ms Query time
0 Invalid entities
67 Managed entities

Queries

Group similar statements

# Time Info
1 0.66 ms
SELECT t0.id AS id_4, t0.firstname AS firstname_5, t0.lastname AS lastname_6, t0.email AS email_7, t0.password AS password_8, t0.status AS status_9, t0.roles AS roles_10, t0.created_at AS created_at_11, t0.updated_at AS updated_at_12, t0.type, t1.identity_code AS identity_code_13, t1.address AS address_14, t1.phone_number AS phone_number_15, t1.city AS city_16, t1.zip_code AS zip_code_17, t3.phone_number AS phone_number_18 FROM account t0 LEFT JOIN practician t1 ON t0.id = t1.id LEFT JOIN administrator t2 ON t0.id = t2.id LEFT JOIN supervisor t3 ON t0.id = t3.id WHERE t0.id = ?
Parameters:
[
  1
]
2 0.73 ms
SELECT DISTINCT id_0 FROM (SELECT DISTINCT id_0, created_at_7 FROM (SELECT o0_.id AS id_0, o0_.number AS number_1, o0_.type AS type_2, o0_.status AS status_3, o0_.tint AS tint_4, o0_.notify AS notify_5, o0_.steps AS steps_6, o0_.created_at AS created_at_7, o0_.updated_at AS updated_at_8 FROM `order` o0_ WHERE o0_.status IN (?, ?, ?, ?, ?, ?, ?, ?, ?)) dctrn_result_inner ORDER BY created_at_7 DESC) dctrn_result LIMIT 30
Parameters:
[
  "pending"
  "valid"
  "invalid"
  "inProcess"
  "inProgress"
  "inDelivery"
  "completed"
  "invoiced"
  "cancelled"
]
3 0.63 ms
SELECT o0_.id AS id_0, o0_.number AS number_1, o0_.type AS type_2, o0_.status AS status_3, o0_.tint AS tint_4, o0_.notify AS notify_5, o0_.steps AS steps_6, o0_.created_at AS created_at_7, o0_.updated_at AS updated_at_8, o0_.patient_id AS patient_id_9, o0_.owner_id AS owner_id_10, o0_.organization_id AS organization_id_11, o0_.traceability_id AS traceability_id_12, o0_.laboratory_id AS laboratory_id_13 FROM `order` o0_ WHERE o0_.status IN (?, ?, ?, ?, ?, ?, ?, ?, ?) AND o0_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ORDER BY o0_.created_at DESC
Parameters:
[
  "pending"
  "valid"
  "invalid"
  "inProcess"
  "inProgress"
  "inDelivery"
  "completed"
  "invoiced"
  "cancelled"
  34
  33
  32
  31
  30
  28
  27
  26
  25
  24
  23
  21
  18
  12
  5
  4
  3
  1
]
4 0.72 ms
SELECT t0.id AS id_1, t0.identity AS identity_2, t0.gender AS gender_3, t0.age AS age_4 FROM patient t0 WHERE t0.id = ?
Parameters:
[
  34
]
5 0.27 ms
SELECT t1.id AS id_2, t1.firstname AS firstname_3, t1.lastname AS lastname_4, t1.email AS email_5, t1.password AS password_6, t1.status AS status_7, t1.roles AS roles_8, t1.created_at AS created_at_9, t1.updated_at AS updated_at_10, t0.identity_code AS identity_code_11, t0.address AS address_12, t0.phone_number AS phone_number_13, t0.city AS city_14, t0.zip_code AS zip_code_15, t1.type FROM practician t0 INNER JOIN account t1 ON t0.id = t1.id WHERE t1.id = ?
Parameters:
[
  4
]
6 0.29 ms
SELECT t0.id AS id_1, t0.delivery_date AS delivery_date_2, t0.comment AS comment_3, t0.locale AS locale_4, t0.translatable_id AS translatable_id_5 FROM order_translation t0 WHERE t0.translatable_id = ?
Parameters:
[
  34
]
7 0.15 ms
SELECT t0.id AS id_1, t0.slug AS slug_2, t0.name AS name_3 FROM laboratory t0 WHERE t0.id = ?
Parameters:
[
  1
]
8 0.15 ms
SELECT t0.id AS id_1, t0.identity AS identity_2, t0.gender AS gender_3, t0.age AS age_4 FROM patient t0 WHERE t0.id = ?
Parameters:
[
  33
]
9 0.37 ms
SELECT t0.id AS id_1, t0.delivery_date AS delivery_date_2, t0.comment AS comment_3, t0.locale AS locale_4, t0.translatable_id AS translatable_id_5 FROM order_translation t0 WHERE t0.translatable_id = ?
Parameters:
[
  33
]
10 0.24 ms
SELECT t0.id AS id_1, t0.slug AS slug_2, t0.name AS name_3 FROM laboratory t0 WHERE t0.id = ?
Parameters:
[
  2
]
11 0.14 ms
SELECT t0.id AS id_1, t0.identity AS identity_2, t0.gender AS gender_3, t0.age AS age_4 FROM patient t0 WHERE t0.id = ?
Parameters:
[
  32
]
12 0.17 ms
SELECT t0.id AS id_1, t0.delivery_date AS delivery_date_2, t0.comment AS comment_3, t0.locale AS locale_4, t0.translatable_id AS translatable_id_5 FROM order_translation t0 WHERE t0.translatable_id = ?
Parameters:
[
  32
]
13 0.15 ms
SELECT t0.id AS id_1, t0.identity AS identity_2, t0.gender AS gender_3, t0.age AS age_4 FROM patient t0 WHERE t0.id = ?
Parameters:
[
  31
]
14 0.17 ms
SELECT t0.id AS id_1, t0.delivery_date AS delivery_date_2, t0.comment AS comment_3, t0.locale AS locale_4, t0.translatable_id AS translatable_id_5 FROM order_translation t0 WHERE t0.translatable_id = ?
Parameters:
[
  31
]
15 0.10 ms
SELECT t0.id AS id_1, t0.identity AS identity_2, t0.gender AS gender_3, t0.age AS age_4 FROM patient t0 WHERE t0.id = ?
Parameters:
[
  30
]
16 0.16 ms
SELECT t0.id AS id_1, t0.delivery_date AS delivery_date_2, t0.comment AS comment_3, t0.locale AS locale_4, t0.translatable_id AS translatable_id_5 FROM order_translation t0 WHERE t0.translatable_id = ?
Parameters:
[
  30
]
17 0.17 ms
SELECT t0.id AS id_1, t0.identity AS identity_2, t0.gender AS gender_3, t0.age AS age_4 FROM patient t0 WHERE t0.id = ?
Parameters:
[
  28
]
18 0.29 ms
SELECT t1.id AS id_2, t1.firstname AS firstname_3, t1.lastname AS lastname_4, t1.email AS email_5, t1.password AS password_6, t1.status AS status_7, t1.roles AS roles_8, t1.created_at AS created_at_9, t1.updated_at AS updated_at_10, t0.identity_code AS identity_code_11, t0.address AS address_12, t0.phone_number AS phone_number_13, t0.city AS city_14, t0.zip_code AS zip_code_15, t1.type FROM practician t0 INNER JOIN account t1 ON t0.id = t1.id WHERE t1.id = ?
Parameters:
[
  14
]
19 0.18 ms
SELECT t0.id AS id_1, t0.name AS name_2 FROM organization t0 WHERE t0.id = ?
Parameters:
[
  2
]
20 0.21 ms
SELECT t0.id AS id_1, t0.delivery_date AS delivery_date_2, t0.comment AS comment_3, t0.locale AS locale_4, t0.translatable_id AS translatable_id_5 FROM order_translation t0 WHERE t0.translatable_id = ?
Parameters:
[
  28
]
21 0.19 ms
SELECT t0.id AS id_1, t0.identity AS identity_2, t0.gender AS gender_3, t0.age AS age_4 FROM patient t0 WHERE t0.id = ?
Parameters:
[
  27
]
22 0.22 ms
SELECT t0.id AS id_1, t0.delivery_date AS delivery_date_2, t0.comment AS comment_3, t0.locale AS locale_4, t0.translatable_id AS translatable_id_5 FROM order_translation t0 WHERE t0.translatable_id = ?
Parameters:
[
  27
]
23 0.15 ms
SELECT t0.id AS id_1, t0.identity AS identity_2, t0.gender AS gender_3, t0.age AS age_4 FROM patient t0 WHERE t0.id = ?
Parameters:
[
  26
]
24 0.23 ms
SELECT t1.id AS id_2, t1.firstname AS firstname_3, t1.lastname AS lastname_4, t1.email AS email_5, t1.password AS password_6, t1.status AS status_7, t1.roles AS roles_8, t1.created_at AS created_at_9, t1.updated_at AS updated_at_10, t0.identity_code AS identity_code_11, t0.address AS address_12, t0.phone_number AS phone_number_13, t0.city AS city_14, t0.zip_code AS zip_code_15, t1.type FROM practician t0 INNER JOIN account t1 ON t0.id = t1.id WHERE t1.id = ?
Parameters:
[
  13
]
25 0.19 ms
SELECT t0.id AS id_1, t0.delivery_date AS delivery_date_2, t0.comment AS comment_3, t0.locale AS locale_4, t0.translatable_id AS translatable_id_5 FROM order_translation t0 WHERE t0.translatable_id = ?
Parameters:
[
  26
]
26 0.15 ms
SELECT t0.id AS id_1, t0.identity AS identity_2, t0.gender AS gender_3, t0.age AS age_4 FROM patient t0 WHERE t0.id = ?
Parameters:
[
  25
]
27 0.26 ms
SELECT t1.id AS id_2, t1.firstname AS firstname_3, t1.lastname AS lastname_4, t1.email AS email_5, t1.password AS password_6, t1.status AS status_7, t1.roles AS roles_8, t1.created_at AS created_at_9, t1.updated_at AS updated_at_10, t0.identity_code AS identity_code_11, t0.address AS address_12, t0.phone_number AS phone_number_13, t0.city AS city_14, t0.zip_code AS zip_code_15, t1.type FROM practician t0 INNER JOIN account t1 ON t0.id = t1.id WHERE t1.id = ?
Parameters:
[
  10
]
28 0.18 ms
SELECT t0.id AS id_1, t0.delivery_date AS delivery_date_2, t0.comment AS comment_3, t0.locale AS locale_4, t0.translatable_id AS translatable_id_5 FROM order_translation t0 WHERE t0.translatable_id = ?
Parameters:
[
  25
]
29 0.17 ms
SELECT t0.id AS id_1, t0.identity AS identity_2, t0.gender AS gender_3, t0.age AS age_4 FROM patient t0 WHERE t0.id = ?
Parameters:
[
  24
]
30 0.21 ms
SELECT t0.id AS id_1, t0.delivery_date AS delivery_date_2, t0.comment AS comment_3, t0.locale AS locale_4, t0.translatable_id AS translatable_id_5 FROM order_translation t0 WHERE t0.translatable_id = ?
Parameters:
[
  24
]
31 0.14 ms
SELECT t0.id AS id_1, t0.identity AS identity_2, t0.gender AS gender_3, t0.age AS age_4 FROM patient t0 WHERE t0.id = ?
Parameters:
[
  23
]
32 0.19 ms
SELECT t0.id AS id_1, t0.delivery_date AS delivery_date_2, t0.comment AS comment_3, t0.locale AS locale_4, t0.translatable_id AS translatable_id_5 FROM order_translation t0 WHERE t0.translatable_id = ?
Parameters:
[
  23
]
33 0.14 ms
SELECT t0.id AS id_1, t0.identity AS identity_2, t0.gender AS gender_3, t0.age AS age_4 FROM patient t0 WHERE t0.id = ?
Parameters:
[
  21
]
34 0.18 ms
SELECT t0.id AS id_1, t0.delivery_date AS delivery_date_2, t0.comment AS comment_3, t0.locale AS locale_4, t0.translatable_id AS translatable_id_5 FROM order_translation t0 WHERE t0.translatable_id = ?
Parameters:
[
  21
]
35 0.16 ms
SELECT t0.id AS id_1, t0.identity AS identity_2, t0.gender AS gender_3, t0.age AS age_4 FROM patient t0 WHERE t0.id = ?
Parameters:
[
  18
]
36 0.16 ms
SELECT t0.id AS id_1, t0.delivery_date AS delivery_date_2, t0.comment AS comment_3, t0.locale AS locale_4, t0.translatable_id AS translatable_id_5 FROM order_translation t0 WHERE t0.translatable_id = ?
Parameters:
[
  18
]
37 0.14 ms
SELECT t0.id AS id_1, t0.identity AS identity_2, t0.gender AS gender_3, t0.age AS age_4 FROM patient t0 WHERE t0.id = ?
Parameters:
[
  12
]
38 0.17 ms
SELECT t0.id AS id_1, t0.delivery_date AS delivery_date_2, t0.comment AS comment_3, t0.locale AS locale_4, t0.translatable_id AS translatable_id_5 FROM order_translation t0 WHERE t0.translatable_id = ?
Parameters:
[
  12
]
39 0.11 ms
SELECT t0.id AS id_1, t0.identity AS identity_2, t0.gender AS gender_3, t0.age AS age_4 FROM patient t0 WHERE t0.id = ?
Parameters:
[
  5
]
40 0.19 ms
SELECT t0.id AS id_1, t0.delivery_date AS delivery_date_2, t0.comment AS comment_3, t0.locale AS locale_4, t0.translatable_id AS translatable_id_5 FROM order_translation t0 WHERE t0.translatable_id = ?
Parameters:
[
  5
]
41 0.19 ms
SELECT t0.id AS id_1, t0.identity AS identity_2, t0.gender AS gender_3, t0.age AS age_4 FROM patient t0 WHERE t0.id = ?
Parameters:
[
  4
]
42 0.22 ms
SELECT t0.id AS id_1, t0.delivery_date AS delivery_date_2, t0.comment AS comment_3, t0.locale AS locale_4, t0.translatable_id AS translatable_id_5 FROM order_translation t0 WHERE t0.translatable_id = ?
Parameters:
[
  4
]
43 0.22 ms
SELECT t0.id AS id_1, t0.identity AS identity_2, t0.gender AS gender_3, t0.age AS age_4 FROM patient t0 WHERE t0.id = ?
Parameters:
[
  3
]
44 0.19 ms
SELECT t0.id AS id_1, t0.delivery_date AS delivery_date_2, t0.comment AS comment_3, t0.locale AS locale_4, t0.translatable_id AS translatable_id_5 FROM order_translation t0 WHERE t0.translatable_id = ?
Parameters:
[
  3
]
45 0.17 ms
SELECT t0.id AS id_1, t0.identity AS identity_2, t0.gender AS gender_3, t0.age AS age_4 FROM patient t0 WHERE t0.id = ?
Parameters:
[
  1
]
46 0.19 ms
SELECT t0.id AS id_1, t0.delivery_date AS delivery_date_2, t0.comment AS comment_3, t0.locale AS locale_4, t0.translatable_id AS translatable_id_5 FROM order_translation t0 WHERE t0.translatable_id = ?
Parameters:
[
  1
]
47 0.56 ms
SELECT COUNT(*) AS dctrn_count FROM (SELECT DISTINCT id_0 FROM (SELECT o0_.id AS id_0, o0_.number AS number_1, o0_.type AS type_2, o0_.status AS status_3, o0_.tint AS tint_4, o0_.notify AS notify_5, o0_.steps AS steps_6, o0_.created_at AS created_at_7, o0_.updated_at AS updated_at_8 FROM `order` o0_ WHERE o0_.status IN (?, ?, ?, ?, ?, ?, ?, ?, ?) ORDER BY o0_.created_at DESC) dctrn_result) dctrn_table
Parameters:
[
  "pending"
  "valid"
  "invalid"
  "inProcess"
  "inProgress"
  "inDelivery"
  "completed"
  "invoiced"
  "cancelled"
]

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\Order\Infrastructure\Doctrine\Entity\OrderTranslation 20
App\Order\Infrastructure\Doctrine\Entity\Order 18
App\Order\Infrastructure\Doctrine\Entity\Patient 18
App\Account\Infrastructure\Doctrine\Entity\Account 5
App\Conformity\Infrastructure\Doctrine\Entity\Traceability 3
App\Conformity\Infrastructure\Doctrine\Entity\Laboratory 2
App\Organization\Infrastructure\Doctrine\Entity\Organization 1