https://www.repertoirevert.org/fr/api/news/today

Query Metrics

2 Database Queries
2 Different statements
2.69 ms Query time
7 Invalid entities

Queries

Group similar statements

# Time Info
1 1.64 ms
SELECT u0_.id AS id_0, c1_.name AS name_1, c1_.image AS image_2, c1_.starting_date AS starting_date_3, c1_.longtitude AS longtitude_4, c1_.latitude AS latitude_5, u2_.inscription_date AS inscription_date_6 FROM company c1_ INNER JOIN userrv u0_ ON c1_.id = u0_.id INNER JOIN (userrv u2_ LEFT JOIN person p3_ ON u2_.id = p3_.id LEFT JOIN company c4_ ON u2_.id = c4_.id LEFT JOIN town t5_ ON u2_.id = t5_.id) ON (u2_.id = u0_.id) WHERE u2_.inscription_date >= ? AND u2_.role = ? GROUP BY u0_.id ORDER BY u2_.inscription_date DESC
Parameters:
[
  "2025-09-14 00:00:00"
  "ROLE_COMPANY"
]
2 1.05 ms
SELECT p0_.id AS id_0, p0_.name AS name_1, p0_.price AS price_2, p0_.currency AS currency_3, p0_.creation_date AS creation_date_4, p0_.image AS image_5, u1_.id AS id_6, c2_.name AS name_7, c2_.latitude AS latitude_8, c2_.longtitude AS longtitude_9, CASE WHEN p0_.discr IN ('marchandise') THEN 'marchandise' WHEN p0_.discr IN ('service') THEN 'service' ELSE 'product' END AS sclr_10 FROM product p0_ LEFT JOIN service s3_ ON p0_.id = s3_.id LEFT JOIN marchandise m4_ ON p0_.id = m4_.id LEFT JOIN company c2_ ON p0_.company_id = c2_.id LEFT JOIN userrv u1_ ON c2_.id = u1_.id WHERE p0_.creation_date >= ? ORDER BY p0_.creation_date DESC LIMIT 5
Parameters:
[
  "2025-09-14 00:00:00"
]

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\User
  • The mappings App\Entity\User#favoriteCompanies and App\Entity\FavoriteCompany#company are inconsistent with each other.
App\Entity\Company
  • The mappings App\Entity\Company#favoriteCompanies and App\Entity\FavoriteCompany#company are inconsistent with each other.
App\Entity\Person
  • The mappings App\Entity\Person#favoriteCompanies and App\Entity\FavoriteCompany#company are inconsistent with each other.
App\Entity\Town
  • The mappings App\Entity\Town#favoriteCompanies and App\Entity\FavoriteCompany#company are inconsistent with each other.
App\Entity\Product
  • The field App\Entity\Product#subcategories is on the owning side of a bi-directional relationship, but the specified inversedBy association on the target-entity App\Entity\Subcategory#products does not contain the required 'mappedBy="subcategories"' attribute.
App\Entity\Marchandise
  • The field App\Entity\Marchandise#subcategories is on the owning side of a bi-directional relationship, but the specified inversedBy association on the target-entity App\Entity\Subcategory#products does not contain the required 'mappedBy="subcategories"' attribute.
App\Entity\Service
  • The field App\Entity\Service#subcategories is on the owning side of a bi-directional relationship, but the specified inversedBy association on the target-entity App\Entity\Subcategory#products does not contain the required 'mappedBy="subcategories"' attribute.