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

Query Metrics

4 Database Queries
4 Different statements
11.34 ms Query time
1 Invalid entities

Queries

Group similar statements

# Time Info
1 6.11 ms
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:
[
  "9"
]
2 1.22 ms
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
  9
]
3 0.15 ms
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 OFFSET 180
Parameters:
[
  1
  9
]
4 3.86 ms
SELECT u0_.id AS id_0, u0_.email AS email_1, u0_.roles AS roles_2, u0_.password AS password_3, u0_.is_verified AS is_verified_4, u0_.firstname AS firstname_5, u0_.lastname AS lastname_6, u0_.phone AS phone_7, u0_.active AS active_8, u0_.shop_id AS shop_id_9, u0_.company_id AS company_id_10, u0_.parent_id AS parent_id_11 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 = ? AND u0_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1
  9
  511
  513
  515
  516
  517
  518
  519
  523
  524
  525
  526
  527
  528
  529
  530
  531
  539
  540
  541
  545
  549
  551
  552
  561
  565
  568
  569
  570
  571
  572
]

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.
App\Entity\Address No errors.
App\Entity\UserSetting No errors.
App\Entity\Sav No errors.