http://dev.api.digidom.pro/v1/legal_representatives?person=68850&properties%5B0%5D=id&q=%2Fv1%2Flegal_representatives

Query Metrics

7 Database Queries
5 Different statements
110.28 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
103.16 ms
(93.54%)
3
SELECT a0_.id AS id_0, a0_.email AS email_1, a0_.phone_number AS phone_number_2, a0_.password AS password_3, a0_.roles AS roles_4, a0_.lastname AS lastname_5, a0_.firstname AS firstname_6, a0_.created_at AS created_at_7, a0_.registration_source AS registration_source_8, a0_.honorific_prefix AS honorific_prefix_9, a0_.reset_token AS reset_token_10, a0_.reset_token_expiration_date AS reset_token_expiration_date_11, a0_.uniq_id AS uniq_id_12, a0_.code_confirmation AS code_confirmation_13, a0_.updated_at AS updated_at_14, a0_.is_active AS is_active_15 FROM app_users a0_ WHERE a0_.email = ? OR a0_.phone_number = ?
Parameters:
[
  "stanislas@digidom.pro"
  "stanislas@digidom.pro"
]
2.28 ms
(2.06%)
1
SELECT l0_.id AS id_0, l0_.quality AS quality_1, l0_.email AS email_2, l0_.phone_number AS phone_number_3, l0_.share_capital AS share_capital_4, l0_.contribution_type AS contribution_type_5, l0_.contribution_amount AS contribution_amount_6, l0_.is_associate AS is_associate_7, l0_.parent_id AS parent_id_8, l0_.person_id AS person_id_9 FROM legal_representative l0_ INNER JOIN organization_legal_representative o2_ ON l0_.id = o2_.legal_representative_id INNER JOIN organization o1_ ON o1_.id = o2_.organization_id INNER JOIN organization_user o4_ ON o1_.id = o4_.organization_id INNER JOIN app_users a3_ ON a3_.id = o4_.user_id WHERE l0_.id IN (SELECT l5_.id FROM legal_representative l5_ INNER JOIN organization_legal_representative o7_ ON l5_.id = o7_.legal_representative_id INNER JOIN organization o6_ ON o6_.id = o7_.organization_id INNER JOIN organization_user o9_ ON o6_.id = o9_.organization_id INNER JOIN app_users a8_ ON a8_.id = o9_.user_id WHERE a3_.id = ? AND l5_.person_id = ?) AND l0_.id IN (?) ORDER BY l0_.id ASC
Parameters:
[
  26167
  "68850"
  [
    46998
  ]
]
1.87 ms
(1.70%)
1
SELECT COUNT(DISTINCT l0_.id) AS sclr_0 FROM legal_representative l0_ INNER JOIN organization_legal_representative o2_ ON l0_.id = o2_.legal_representative_id INNER JOIN organization o1_ ON o1_.id = o2_.organization_id INNER JOIN organization_user o4_ ON o1_.id = o4_.organization_id INNER JOIN app_users a3_ ON a3_.id = o4_.user_id WHERE l0_.id IN (SELECT l5_.id FROM legal_representative l5_ INNER JOIN organization_legal_representative o7_ ON l5_.id = o7_.legal_representative_id INNER JOIN organization o6_ ON o6_.id = o7_.organization_id INNER JOIN organization_user o9_ ON o6_.id = o9_.organization_id INNER JOIN app_users a8_ ON a8_.id = o9_.user_id WHERE a3_.id = ? AND l5_.person_id = ?)
Parameters:
[
  26167
  "68850"
]
1.84 ms
(1.67%)
1
SELECT DISTINCT l0_.id AS id_0, l0_.id AS id_1 FROM legal_representative l0_ INNER JOIN organization_legal_representative o2_ ON l0_.id = o2_.legal_representative_id INNER JOIN organization o1_ ON o1_.id = o2_.organization_id INNER JOIN organization_user o4_ ON o1_.id = o4_.organization_id INNER JOIN app_users a3_ ON a3_.id = o4_.user_id WHERE l0_.id IN (SELECT l5_.id FROM legal_representative l5_ INNER JOIN organization_legal_representative o7_ ON l5_.id = o7_.legal_representative_id INNER JOIN organization o6_ ON o6_.id = o7_.organization_id INNER JOIN organization_user o9_ ON o6_.id = o9_.organization_id INNER JOIN app_users a8_ ON a8_.id = o9_.user_id WHERE a3_.id = ? AND l5_.person_id = ?) ORDER BY l0_.id ASC LIMIT 30
Parameters:
[
  26167
  "68850"
]
1.13 ms
(1.02%)
1
SELECT t0.id AS id_1, t0.contribution_type AS contribution_type_2, t0.contribution_amount AS contribution_amount_3, t0.share_capital AS share_capital_4, t0.created_at AS created_at_5, t0.quality AS quality_6, t0.legal_representative_id AS legal_representative_id_7, t0.person_id AS person_id_8, t0.is_legal_representative_id AS is_legal_representative_id_9 FROM associate t0 WHERE t0.legal_representative_id = ?
Parameters:
[
  46998
]

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.

Entities Mapping

Class Mapping errors
Evo\Infrastructure\MappingORM\Product No errors.
Evo\Infrastructure\MappingORM\Invoice No errors.
Evo\Infrastructure\MappingORM\Subscription No errors.
Evo\Infrastructure\MappingORM\SubscriptionModel No errors.
Evo\Infrastructure\MappingORM\LegalRepresentative No errors.
Evo\Infrastructure\MappingORM\Person No errors.
Evo\Infrastructure\MappingORM\User No errors.
Evo\Infrastructure\MappingORM\PappersActivityLogWrapper No errors.
Evo\Infrastructure\MappingORM\CreditNote No errors.
Evo\Infrastructure\MappingORM\Quote No errors.
Evo\Infrastructure\MappingORM\Organization No errors.
Evo\Infrastructure\MappingORM\Store No errors.
Evo\Infrastructure\MappingORM\UserUTM No errors.
Evo\Infrastructure\MappingORM\Lead No errors.
Evo\Infrastructure\MappingORM\ActivityLog No errors.
Evo\Infrastructure\MappingORM\CommercialGesture No errors.
Evo\Infrastructure\MappingORM\ActivityDomain No errors.
Evo\Infrastructure\MappingORM\ActivitySubdomain No errors.
Evo\Infrastructure\MappingORM\ProfessionDetail No errors.
Evo\Infrastructure\MappingORM\ProfessionType No errors.
Evo\Infrastructure\MappingORM\PostalAddress No errors.
Evo\Infrastructure\MappingORM\DiscountCode No errors.
Evo\Infrastructure\MappingORM\Pack No errors.
Evo\Infrastructure\MappingORM\Category No errors.
Evo\Infrastructure\MappingORM\ProductHistory No errors.
Evo\Infrastructure\MappingORM\DiscountConfiguration No errors.
Evo\Infrastructure\MappingORM\Payment No errors.
Evo\Infrastructure\MappingORM\Item No errors.
Evo\Infrastructure\MappingORM\PotentialCase No errors.
Evo\Infrastructure\MappingORM\Document No errors.
Evo\Infrastructure\MappingORM\DocumentRejectionMessage No errors.
Evo\Infrastructure\MappingORM\ProcessYousign No errors.
Evo\Infrastructure\MappingORM\Signature No errors.
Evo\Infrastructure\MappingORM\Order No errors.
Evo\Infrastructure\MappingORM\Service No errors.
Evo\Infrastructure\MappingORM\Associate No errors.