Hey all, how do I do a find on where with 2 enums?...
# orm-help
n
Hey all, how do I do a find on where with 2 enums?
Copy code
where: {
        applicationId: application.id,
        status: Status.REQUIRED || Status.PENDING,
      },
r
You can use `OR`:
Copy code
where: {
        applicationId: application.id,
        OR: [
         { status: Status.REQUIRED },
         { status: Status.PENDING }
        ]
      },
🙌 1
✅ 1