Anyway to use a Enum inside a prisma-binding query...
# orm-help
n
Anyway to use a Enum inside a prisma-binding query?
Copy code
const completed = await ctx.db.query.profiles({
        where: {
            company: {
              id: args.id
            },
          status: `COMPLETED`
        }
      })
n
yes, like that.
n
Ugh. Thanks. Another dumb moment where I was querying a different dataset 😂 no wonder it returned null every time.
d
it's never dumb if you find solution !