GET https://timeprogrammers.com/company/7/edit?_route_=company%2F7%2Fedit

Query Metrics

4 Database Queries
4 Different statements
397.02 ms Query time
2 Invalid entities
299 Managed entities

Grouped Statements

Show all queries

Time Count Info
287.04 ms
(72.30%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3, t0.phonecode AS phonecode_4, t0.created_at AS created_at_5, t0.updated_at AS updated_at_6 FROM country t0 WHERE t0.id = ?
Parameters:
[
  231
]
61.66 ms
(15.53%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.picture AS picture_3, t0.phone AS phone_4, t0.email AS email_5, t0.website AS website_6, t0.address AS address_7, t0.city AS city_8, t0.zipcode AS zipcode_9, t0.created_at AS created_at_10, t0.updated_at AS updated_at_11, t0.user_id AS user_id_12, t0.country_id AS country_id_13, t0.state_id AS state_id_14 FROM company t0 WHERE t0.id = ?
Parameters:
[
  "7"
]
46.56 ms
(11.73%)
1
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.code AS code_2, c0_.phonecode AS phonecode_3, c0_.created_at AS created_at_4, c0_.updated_at AS updated_at_5 FROM country c0_
Parameters:
[]
1.76 ms
(0.44%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3, t0.region AS region_4, t0.tax AS tax_5, t0.created_at AS created_at_6, t0.updated_at AS updated_at_7, t0.country_id AS country_id_8 FROM state t0 WHERE t0.country_id = ?
Parameters:
[
  231
]

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\Country 247
App\Entity\State 51
App\Entity\Company 1

Entities Mapping

Class Mapping errors
App\Entity\Company
  • The mappings App\Entity\Company#user and App\Entity\User#companies are inconsistent with each other.
App\Entity\User
  • The association App\Entity\User#companies refers to the owning side field App\Entity\Company#user_id which does not exist.
App\Entity\Country No errors.
App\Entity\State No errors.
App\Entity\Client No errors.
App\Entity\Project No errors.
App\Entity\Payment No errors.