GET https://rent.n46.net/en/landlord/invoices/

Query Metrics

6 Database Queries
6 Different statements
2.59 ms Query time
0 Invalid entities
7 Managed entities

Grouped Statements

Show all queries

Time Count Info
0.85 ms
(32.73%)
1
SELECT t0.id AS id_1, t0.email AS email_2, t0.google AS google_3, t0.password AS password_4, t0.first_name AS first_name_5, t0.last_name AS last_name_6, t0.legal_name AS legal_name_7, t0.sex AS sex_8, t0.account_type AS account_type_9, t0.nin AS nin_10, t0.status AS status_11, t0.is_suspended AS is_suspended_12, t0.roles AS roles_13, t0.balance AS balance_14, t0.is_subscribed AS is_subscribed_15, t0.created_at AS created_at_16, t0.updated_at AS updated_at_17, t0.language_id AS language_id_18, t19.id AS id_20, t19.phone_number AS phone_number_21, t19.status AS status_22, t19.code AS code_23, t19.ip_address AS ip_address_24, t19.created_at AS created_at_25, t19.updated_at AS updated_at_26, t19.tenant_id AS tenant_id_27 FROM ax_tenant t0 LEFT JOIN ax_tenant_phone t19 ON t19.tenant_id = t0.id WHERE t0.id = ?
Parameters:
[
  1
]
0.71 ms
(27.22%)
1
SELECT DISTINCT a0_.id AS id_0, a0_.created_at AS created_at_1 FROM ax_invoice a0_ INNER JOIN ax_contract a1_ ON a0_.contract_id = a1_.id WHERE a1_.landlord_id = ? ORDER BY a0_.created_at DESC LIMIT 10
Parameters:
[
  1
]
0.46 ms
(17.85%)
1
SELECT a0_.id AS id_0, a0_.invoice_number AS invoice_number_1, a0_.status AS status_2, a0_.due_date AS due_date_3, a0_.paid_at AS paid_at_4, a0_.period_start AS period_start_5, a0_.period_end AS period_end_6, a0_.total_amount AS total_amount_7, a0_.notes AS notes_8, a0_.created_at AS created_at_9, a0_.updated_at AS updated_at_10, a0_.contract_id AS contract_id_11, a0_.currency_id AS currency_id_12 FROM ax_invoice a0_ INNER JOIN ax_contract a1_ ON a0_.contract_id = a1_.id WHERE a1_.landlord_id = ? AND a0_.id IN (?, ?) ORDER BY a0_.created_at DESC
Parameters:
[
  1
  2
  1
]
0.21 ms
(8.28%)
1
SELECT t0.id AS id_1, t0.first_name AS first_name_2, t0.last_name AS last_name_3, t0.org AS org_4, t0.street AS street_5, t0.city AS city_6, t0.district AS district_7, t0.postal_code AS postal_code_8, t0.country AS country_9, t0.phone_number AS phone_number_10, t0.email AS email_11, t0.bank_account AS bank_account_12, t0.bank_name AS bank_name_13, t0.ic_serial_number AS ic_serial_number_14, t0.authority AS authority_15, t0.ic_issue_date AS ic_issue_date_16, t0.ic_expiration_date AS ic_expiration_date_17, t0.birth_date AS birth_date_18, t0.number AS number_19, t0.signature_date AS signature_date_20, t0.start_date AS start_date_21, t0.termination_date AS termination_date_22, t0.registration_number AS registration_number_23, t0.notes AS notes_24, t0.created_at AS created_at_25, t0.updated_at AS updated_at_26, t0.landlord_id AS landlord_id_27, t0.tenant_id AS tenant_id_28 FROM ax_contract t0 WHERE t0.id = ?
Parameters:
[
  4
]
0.19 ms
(7.36%)
1
SELECT t0.id AS id_1, t0.email AS email_2, t0.google AS google_3, t0.password AS password_4, t0.first_name AS first_name_5, t0.last_name AS last_name_6, t0.legal_name AS legal_name_7, t0.sex AS sex_8, t0.account_type AS account_type_9, t0.nin AS nin_10, t0.status AS status_11, t0.is_suspended AS is_suspended_12, t0.roles AS roles_13, t0.balance AS balance_14, t0.is_subscribed AS is_subscribed_15, t0.created_at AS created_at_16, t0.updated_at AS updated_at_17, t0.language_id AS language_id_18, t19.id AS id_20, t19.phone_number AS phone_number_21, t19.status AS status_22, t19.code AS code_23, t19.ip_address AS ip_address_24, t19.created_at AS created_at_25, t19.updated_at AS updated_at_26, t19.landlord_id AS landlord_id_27 FROM ax_landlord t0 LEFT JOIN ax_landlord_phone t19 ON t19.landlord_id = t0.id WHERE t0.id = ?
Parameters:
[
  1
]
0.17 ms
(6.55%)
1
SELECT count(DISTINCT a0_.id) AS sclr_0 FROM ax_invoice a0_ INNER JOIN ax_contract a1_ ON a0_.contract_id = a1_.id WHERE a1_.landlord_id = ?
Parameters:
[
  1
]

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\Invoice 2
App\Entity\Landlord 1
App\Entity\Language 1
App\Entity\Contract 1
App\Entity\Currency 1
App\Entity\Tenant 1

Entities Mapping

Class Mapping errors
App\Entity\Landlord No errors.
App\Entity\Language No errors.
App\Entity\LandlordPhone No errors.
App\Entity\Property No errors.
App\Entity\Contract No errors.
App\Entity\Invoice No errors.
App\Entity\Currency No errors.
App\Entity\Tenant No errors.
App\Entity\TenantPhone No errors.