Query Metrics

5 Database Queries
5 Different statements
2.82 ms Query time
3 Invalid entities
7 Managed entities

Grouped Statements

Show all queries

Time Count Info
0.67 ms
(23.86%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3, t0.logo AS logo_4, t0.address AS address_5, t0.capital AS capital_6, t0.website AS website_7, t0.email AS email_8, t0.phone AS phone_9, t0.siret AS siret_10, t0.tva AS tva_11, t0.rcs AS rcs_12, t0.price_precision AS price_precision_13, t0.loi_pdf AS loi_pdf_14, t0.footer_pdf AS footer_pdf_15, t0.favicon AS favicon_16, t0.smtp_host AS smtp_host_17, t0.smtp_port AS smtp_port_18, t0.smtp_user AS smtp_user_19, t0.smtp_password AS smtp_password_20, t0.smtp_sender_email AS smtp_sender_email_21, t0.smtp_sender_name AS smtp_sender_name_22, t0.smtp_encryption AS smtp_encryption_23, t0.country_code AS country_code_24, t0.invoice_start_number AS invoice_start_number_25, t0.cra_email_template AS cra_email_template_26, t0.email_header AS email_header_27, t0.email_footer AS email_footer_28, t0.legal_form_id AS legal_form_id_29, t0.currency_id AS currency_id_30, t0.cachet AS cachet_31 FROM company t0 WHERE t0.id = ?
Parameters:
[
  2
]
0.61 ms
(21.46%)
1
SELECT t0.id AS id_1, t0.full_name AS full_name_2, t0.username AS username_3, t0.email AS email_4, t0.password AS password_5, t0.roles AS roles_6, t0.bio AS bio_7, t0.website AS website_8, t0.twitter_handle AS twitter_handle_9, t0.is_verified AS is_verified_10, t0.enabled AS enabled_11, t0.last_login_at AS last_login_at_12, t0.avatar AS avatar_13, t0.company_id AS company_id_14 FROM user t0 WHERE t0.id = ?
Parameters:
[
  6
]
0.55 ms
(19.33%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.roles AS roles_3, t0.company_id AS company_id_4 FROM user_group t0 INNER JOIN user_user_group ON t0.id = user_user_group.user_group_id WHERE user_user_group.user_id = ?
Parameters:
[
  6
]
0.52 ms
(18.34%)
1
SELECT t0.id AS id_1, t0.code AS code_2, t0.paid AS paid_3, t0.creation_date AS creation_date_4, t0.due_date AS due_date_5, t0.total_ht AS total_ht_6, t0.mail_sent AS mail_sent_7, t0.total_ttc AS total_ttc_8, t0.tva AS tva_9, t0.relance AS relance_10, t0.timbre AS timbre_11, t0.status AS status_12, t0.company_id AS company_id_13, t0.customer_id AS customer_id_14 FROM invoice t0 WHERE t0.id = ?
Parameters:
[
  "159"
]
0.48 ms
(17.00%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3, t0.email AS email_4, t0.phone AS phone_5, t0.address AS address_6, t0.siret AS siret_7, t0.tva AS tva_8, t0.price_precision AS price_precision_9, t0.company_id AS company_id_10, t0.currency_id AS currency_id_11 FROM customer t0 WHERE t0.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.

Managed Entities

default entity manager

Class Amount of managed objects
App\Entity\User 1
App\Entity\Company 1
App\Entity\UserGroup 1
App\Entity\LegalForm 1
App\Entity\Currency 1
App\Entity\Invoice 1
App\Entity\Customer 1

Entities Mapping

Class Mapping errors
App\Entity\User No errors.
App\Entity\Company
  • The field App\Entity\Company#invoices is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Invoice#company does not contain the required 'inversedBy: "invoices"' attribute.
  • The field App\Entity\Company#payments is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Payment#company does not contain the required 'inversedBy: "payments"' attribute.
  • The field App\Entity\Company#supplierInvoices is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\SupplierInvoice#company does not contain the required 'inversedBy: "supplierInvoices"' attribute.
App\Entity\UserGroup No errors.
App\Entity\Contract No errors.
App\Entity\PurchaseOrder No errors.
App\Entity\LegalForm No errors.
App\Entity\Currency No errors.
App\Entity\File No errors.
App\Entity\Bank No errors.
App\Entity\Vat No errors.
App\Entity\FiscalPeriod No errors.
App\Entity\Customer
  • The field App\Entity\Customer#invoices is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Invoice#customer does not contain the required 'inversedBy: "invoices"' attribute.
App\Entity\Supplier No errors.
App\Entity\Invoice
  • The field App\Entity\Invoice#payments is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Payment#invoice does not contain the required 'inversedBy: "payments"' attribute.
App\Entity\Payment No errors.
App\Entity\SupplierInvoice No errors.
App\Entity\InvoiceDetail No errors.