GET https://rifu.iridian.co/api/service/bonos/saldo/expire

Query Metrics

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

Queries

Group similar statements

default connection

# Time Info
1 19.86 ms
SELECT t0.id AS id_1, t0.fqdn AS fqdn_2, t0.username AS username_3, t0.host AS host_4, t0.password AS password_5, t0.database_name AS database_name_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.deleted_at AS deleted_at_9, t0.tenant_id AS tenant_id_10, t11.id AS id_12, t11.uuid AS uuid_13, t11.created_at AS created_at_14, t11.updated_at AS updated_at_15, t11.deleted_at AS deleted_at_16, t11.local AS local_17 FROM hostname t0 INNER JOIN tenant t11 ON t0.tenant_id = t11.id WHERE t0.fqdn = ? LIMIT 1
Parameters:
[
  "rifu.iridian.co"
]
2 19.11 ms
SELECT if(@@global.time_zone = 'SYSTEM', @@system_time_zone, @@global.time_zone) AS timezone;
Parameters:
[]
3 19.20 ms
SELECT valor from main_setting where llave = 'validate_integrity';
Parameters:
[]

tenant connection

# Time Info
1 18.93 ms
SELECT s0_.valor AS valor_0, s0_.llave AS llave_1 FROM setting s0_ ORDER BY s0_.id ASC
Parameters:
[]
2 21.44 ms
SELECT s0_.id AS id_0, m1_.id AS id_1, u2_.id AS id_2, s0_.fecha_expiracion AS fecha_expiracion_3, s0_.valor AS valor_4, b3_.id AS id_5 FROM saldo_condicionado s0_ INNER JOIN movimiento m1_ ON (m1_.saldo_condicionado_id = s0_.id) INNER JOIN usuario u2_ ON (m1_.usuario_id = u2_.id) INNER JOIN bono b3_ ON (m1_.bono_id = b3_.id) INNER JOIN estado_bono e4_ ON (b3_.estado_id = e4_.id) INNER JOIN tipo_calculo_descuento t5_ ON (b3_.tipo_id = t5_.id) INNER JOIN tipo_bono t6_ ON (t5_.tipo_id = t6_.id) WHERE s0_.fecha_expiracion <= CURRENT_TIMESTAMP AND s0_.fecha_expiracion >= DATE_SUB(CURRENT_TIMESTAMP, INTERVAL 1 DAY) AND s0_.valor <> ? AND t5_.nombre = ? ORDER BY s0_.fecha_expiracion ASC
Parameters:
[
  "0.0"
  "Saldo"
]

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\Billetera\SaldoCondicionado No errors.
App\Entity\Billetera\Movimiento
  • If association App\Entity\Billetera\Movimiento#pagoSaldo is many-to-one, then the inversed side App\Entity\Solicitud\SolicitudPago#movimiento has to be one-to-many.
App\Entity\Usuario\Usuario No errors.
App\Entity\Billetera\Bono
  • The field App\Entity\Billetera\Bono#bonoMovimientos is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Billetera\Movimiento#bono does not contain the required 'inversedBy="bonoMovimientos"' attribute.
App\Entity\Billetera\EstadoBono No errors.
App\Entity\Billetera\TipoCalculoDescuento No errors.
App\Entity\Billetera\TipoBono No errors.