You can use the in
operator to query by multiple id
inside findMany
.
Example:
const ret = await prisma.signe.findMany({
where: {
id: { in: [1, 2, 12] },
}
})
More details are available in the prisma client reference.