const salones = await prisma.salones.findMany({   ...
# orm-help
a
const salones = await prisma.salones.findMany({       include: {         docentes_reservas_salones: {           select: {             docentes_reservas_docentes_reservasTodocentes_reservas_salones_codigo_reserva:               {                 select: {                   reservas: {                     select: {                       hora_inicial: true,                     },                   },                 },               },           },         },       },     }); Hello, does anyone know how to filter with a where in the include hora_inicial (start_time) field? Thanks!
r
@Agustín T 👋 You can use
where
inside
select: { hora_inicial: { where: {} } }
if
hora_inicial
is a relation.