Query Metrics
7
Database Queries
7
Different statements
370.68 ms
Query time
1
Invalid entities
Queries
default connection
tenant connection
#▲ | Time | Info |
---|---|---|
1 | 19.67 ms |
SELECT s0_.valor AS valor_0, s0_.llave AS llave_1 FROM setting s0_ ORDER BY s0_.id ASC
Parameters:
[] |
2 | 20.01 ms |
SELECT p0_.id AS id_0, p0_.folio_numero AS folio_numero_1, r1_.id AS id_2 FROM producto p0_ INNER JOIN rifa r1_ ON p0_.rifa_id = r1_.id LEFT JOIN compra c2_ ON p0_.compra_id = c2_.id LEFT JOIN estado_pedido e3_ ON c2_.estado_id = e3_.id WHERE p0_.updated_at <= ? AND (p0_.compra_id IS NULL OR (c2_.id IS NOT NULL AND (c2_.estado_id IS NULL OR e3_.ref <> ?))) AND r1_.alto_flujo = 1
Parameters:
[ "2024-11-23 09:55:07" "APROBADA" ] |
3 | 253.40 ms |
SELECT p0_.id AS id_0, p0_.folio_numero AS folio_numero_1, r1_.id AS id_2 FROM producto p0_ INNER JOIN rifa r1_ ON p0_.rifa_id = r1_.id LEFT JOIN compra c2_ ON p0_.compra_id = c2_.id LEFT JOIN estado_pedido e3_ ON c2_.estado_id = e3_.id WHERE p0_.updated_at <= ? AND (p0_.compra_id IS NULL OR (c2_.id IS NOT NULL AND (c2_.estado_id IS NULL OR e3_.ref <> ?))) AND (r1_.alto_flujo IS NULL OR r1_.alto_flujo = 0)
Parameters:
[ "2024-11-23 09:40:07" "APROBADA" ] |
4 | 19.55 ms |
DELETE FROM producto WHERE folio_numero IN (?) AND rifa_id = ?
Parameters:
[ null 313 ] |
Database Connections
Name | Service |
---|---|
default | doctrine.dbal.default_connection |
tenant | doctrine.dbal.tenant_connection |
Entity Managers
Name | Service |
---|---|
default | doctrine.orm.default_entity_manager |
tenant | doctrine.orm.tenant_entity_manager |
Second Level Cache
Second Level Cache is not enabled.
Entities Mapping
default entity manager
Class | Mapping errors |
---|---|
MultiTenancyBundle\Entity\Hostname | No errors. |
MultiTenancyBundle\Entity\Tenant | No errors. |
tenant entity manager
Class | Mapping errors |
---|---|
App\Entity\General\Setting | No errors. |
App\Entity\Catalogue\Producto |
|
App\Entity\Rifa\Rifa | No errors. |
App\Entity\Cart\Compra | No errors. |
App\Entity\Cart\EstadoPedido | No errors. |