https://dev.shop.bak2.com/fr/shop/5/users?direction=asc&page=1

Query Metrics

3 Database Queries
3 Different statements
31.96 ms Query time
1 Invalid entities

Grouped Statements

Show all queries

Time Count Info
28.45 ms
(89.01%)
1
SELECT count(DISTINCT u0_.id) AS sclr_0 FROM `user` u0_ LEFT JOIN company c1_ ON u0_.company_id = c1_.id LEFT JOIN shop s2_ ON u0_.shop_id = s2_.id WHERE u0_.active = ? AND u0_.shop_id = ?
Parameters:
[
  1
  5
]
3.19 ms
(9.97%)
1
SELECT DISTINCT u0_.id AS id_0 FROM `user` u0_ LEFT JOIN company c1_ ON u0_.company_id = c1_.id LEFT JOIN shop s2_ ON u0_.shop_id = s2_.id WHERE u0_.active = ? AND u0_.shop_id = ? LIMIT 30
Parameters:
[
  1
  5
]
0.33 ms
(1.02%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.country AS country_3, t0.wtt_id AS wtt_id_4, t0.wtt_name AS wtt_name_5, t0.logo AS logo_6, t0.config AS config_7, t0.apikey AS apikey_8, t0.login_hash AS login_hash_9, t0.channel AS channel_10, t0.mail_copy AS mail_copy_11, t0.active AS active_12 FROM shop t0 WHERE t0.id = ?
Parameters:
[
  "5"
]

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
App\Entity\Shop No errors.
App\Entity\User
  • The mappings App\Entity\User#shop and App\Entity\Shop#users are inconsistent with each other.
  • If association App\Entity\User#shop is many-to-one, then the inversed side App\Entity\Shop#users has to be one-to-many.
App\Entity\Order No errors.
App\Entity\Stock No errors.
App\Entity\Company No errors.
App\Entity\ShopSetting No errors.
App\Entity\Imei No errors.
App\Entity\Coupon No errors.
App\Entity\Category No errors.
App\Entity\Option No errors.
App\Entity\Status No errors.