http://nba-back-cache.buenosaires.gob.ar/api/v1/categorias/sub-categorias-grupos/1

Query Metrics

5 Database Queries
5 Different statements
3.35 ms Query time
2 Invalid entities

Queries

Group similar statements

default connection

# Time Info
1 0.68 ms
SELECT id,nombre,descripcion FROM categoria WHERE id = :id AND deleted_at IS NULL AND activo = 1
Parameters:
[
  ":id" => "1"
]
2 0.57 ms
SELECT id,nombre,descripcion,icono FROM categoria WHERE categoria_id = :categoriaId AND deleted_at IS NULL AND activo = 1 ORDER BY posicion ASC,nombre ASC
Parameters:
[
  ":categoriaId" => "1"
]
3 0.92 ms
WITH RECURSIVE parents_categoria AS (SELECT id,nombre,categoria_id FROM categoria WHERE id = :id AND deleted_at IS NULL AND activo = 1 UNION ALL SELECT c.id,c.nombre,c.categoria_id FROM categoria c INNER JOIN parents_categoria p ON p.categoria_id = c.id) SELECT * FROM parents_categoria WHERE id <> :id
Parameters:
[
  ":id" => "1"
]

api connection

# Time Info
1 0.68 ms
SELECT id,nombre,REGEXP_REPLACE(REGEXP_REPLACE(CONCAT('BASE_URL', link), '^BASE_URL\/', 'https://buenosaires.gob.ar/'), '^BASE_URL', '') AS link,grupo_id FROM material_recurso WHERE grupo_id  IS NULL AND categoria_id = :categoriaId AND activo = 1 ORDER BY posicion ASC,nombre ASC
Parameters:
[
  ":categoriaId" => "1"
]
2 0.51 ms
SELECT id,nombre,descripcion FROM grupo WHERE categoria_id = :categoriaId AND deleted_at IS NULL AND activo = 1 ORDER BY posicion ASC,nombre ASC
Parameters:
[
  ":categoriaId" => "1"
]

Database Connections

Name Service
default doctrine.dbal.default_connection
api doctrine.dbal.api_connection
log doctrine.dbal.log_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager
api doctrine.orm.api_entity_manager
log doctrine.orm.log_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

default entity manager

Class Mapping errors
App\Entity\App\Categoria
  • The field App\Entity\App\Categoria#tiposDestacados is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\App\TipoDestacado#categoria does not contain the required 'inversedBy="tiposDestacados"' attribute.

api entity manager

Class Mapping errors
App\Entity\App\Categoria
  • The field App\Entity\App\Categoria#tiposDestacados is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\App\TipoDestacado#categoria does not contain the required 'inversedBy="tiposDestacados"' attribute.
App\Entity\App\MaterialRecurso No errors.
App\Entity\App\Grupo No errors.

log entity manager

No loaded entities.