GET https://timeprogrammers.com/company/12/edit?_route_=company%2F12%2Fedit

Query Metrics

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

Grouped Statements

Show all queries

Time Count Info
18.58 ms
(36.83%)
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
]
13.52 ms
(26.80%)
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:
[]
11.31 ms
(22.42%)
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
]
7.04 ms
(13.95%)
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:
[
  "12"
]

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.