POST http://rc.liftapp.it/api/materials/get_material_supplier

Query Metrics

5 Database Queries
5 Different statements
3.58 ms Query time
6 Invalid entities

Grouped Statements

Show all queries

Time Count Info
1.45 ms
(40.58%)
1
SELECT m0_.created_at AS created_at_0, m0_.updated_at AS updated_at_1, m0_.deleted_at AS deleted_at_2, m0_.id AS id_3, m0_.name AS name_4, m0_.measurement_unit AS measurement_unit_5, m0_.conformity_declaration AS conformity_declaration_6, m0_.internal_code AS internal_code_7, m0_.company_id AS company_id_8 FROM material m0_ WHERE m0_.company_id = ? AND m0_.deleted_at IS NULL AND m0_.id = ?
Parameters:
[
  4
  311
]
0.67 ms
(18.60%)
1
SELECT t0.created_at AS created_at_1, t0.updated_at AS updated_at_2, t0.deleted_at AS deleted_at_3, t0.id AS id_4, t0.email AS email_5, t0.roles AS roles_6, t0.username AS username_7, t0.password AS password_8, t0.last_access AS last_access_9 FROM sys_user t0 WHERE t0.id = ?
Parameters:
[
  6
]
0.51 ms
(14.22%)
1
SELECT t0.created_at AS created_at_1, t0.updated_at AS updated_at_2, t0.deleted_at AS deleted_at_3, t0.id AS id_4, t0.price AS price_5, t0.minimum_order AS minimum_order_6, t0.currency AS currency_7, t0.material_supplier_code AS material_supplier_code_8, t0.material_id AS material_id_9, t0.supplier_id AS supplier_id_10 FROM coll_material_supplier t0 WHERE t0.material_id = ?
Parameters:
[
  311
]
0.49 ms
(13.61%)
1
SELECT t0.created_at AS created_at_1, t0.updated_at AS updated_at_2, t0.deleted_at AS deleted_at_3, t0.id AS id_4, t0.name AS name_5, t0.cf AS cf_6, t0.role AS role_7, t0.road AS road_8, t0.house_number AS house_number_9, t0.city AS city_10, t0.cap AS cap_11, t0.province AS province_12, t0.email AS email_13, t0.telephone AS telephone_14, t0.cellphone AS cellphone_15, t0.p_iva AS p_iva_16, t0.state AS state_17, t0.notes AS notes_18, t0.company_id AS company_id_19, t0.type FROM registry t0 WHERE t0.id = ? AND t0.type IN ('4')
Parameters:
[
  540
]
0.47 ms
(12.99%)
1
SELECT s0_.created_at AS created_at_0, s0_.updated_at AS updated_at_1, s0_.deleted_at AS deleted_at_2, s0_.id AS id_3, s0_.name AS name_4, s0_.road AS road_5, s0_.house_number AS house_number_6, s0_.city AS city_7, s0_.cap AS cap_8, s0_.province AS province_9, s0_.state AS state_10, s0_.country AS country_11, s0_.company_type AS company_type_12, s0_.phone AS phone_13, s0_.mail AS mail_14 FROM sys_company s0_ WHERE s0_.id = ?
Parameters:
[
  4
]

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\BaseEntity No errors.
App\Entity\SysUser
  • The mappings App\Entity\SysUser#sysRoles and App\Entity\CollSysUserSysCompany#user are inconsistent with each other.
App\Entity\CollSysUserSysCompany
  • The association App\Entity\CollSysUserSysCompany#user refers to the inverse side field App\Entity\SysUser#roles which is not defined as association.
  • The association App\Entity\CollSysUserSysCompany#user refers to the inverse side field App\Entity\SysUser#roles which does not exist.
App\Entity\Material No errors.
App\Entity\SysCompany No errors.
App\Entity\Registry No errors.
App\Entity\SysCompanyAddresses No errors.
App\Entity\CollMaterialSupplier No errors.
App\Entity\CollJobMaterial No errors.
App\Entity\OrderItem
  • The field 'App\Entity\OrderItem#quantity' has the property type 'float' that differs from the metadata field type 'string' returned by the 'decimal' DBAL type.
  • The field 'App\Entity\OrderItem#unitPrice' has the property type 'float' that differs from the metadata field type 'string' returned by the 'decimal' DBAL type.
  • The field 'App\Entity\OrderItem#vatPercentage' has the property type 'float' that differs from the metadata field type 'string' returned by the 'decimal' DBAL type.
  • The field 'App\Entity\OrderItem#unitPriceWithVat' has the property type 'float' that differs from the metadata field type 'string' returned by the 'decimal' DBAL type.
  • The field 'App\Entity\OrderItem#totalPriceNet' has the property type 'float' that differs from the metadata field type 'string' returned by the 'decimal' DBAL type.
  • The field 'App\Entity\OrderItem#totalPriceGross' has the property type 'float' that differs from the metadata field type 'string' returned by the 'decimal' DBAL type.
App\Entity\Supplier
  • The field App\Entity\Supplier#jobMaterials is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\CollJobMaterial#supplier does not contain the required 'inversedBy="jobMaterials"' attribute.
  • The field App\Entity\Supplier#orders is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Order#supplier does not contain the required 'inversedBy="orders"' attribute.
App\Entity\Implant
  • The field App\Entity\Implant#jobs is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Job#implant does not contain the required 'inversedBy="jobs"' attribute.
App\Entity\Order
  • The field 'App\Entity\Order#totalAmount' has the property type 'float' that differs from the metadata field type 'string' returned by the 'decimal' DBAL type.
  • The field App\Entity\Order#jobMaterials is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\CollJobMaterial#order does not contain the required 'inversedBy="jobMaterials"' attribute.