or do I need to just write to resolvers for that?
# orm-help
m
or do I need to just write to resolvers for that?
r
@manuel 👋 A simple ternary operator should work:
Copy code
await prisma.model.findMany({
  where: condition ? { ...args } : {}
})
m
thanks!
👍 1