Hey all :wave::skin-tone-6: has anyone used `findR...
# orm-help
e
Hey all 👋🏿 has anyone used
findRaw
with mongodb? The raw query returns an empty array but the other query returns all users as expected. Am I doing something wrong?
Copy code
const rawUsers = await prisma.user.findRaw(); // empty array
  const users = await prisma.user.findMany(); // all users as expected
Found an issue for this and the cause which was using
@@map
in my schema - https://github.com/prisma/prisma/issues/12124#issuecomment-1058452098 I can confirm this is fixed in
3.12.0-dev.21
n
Hey Ezekiel 👋 Glad to hear that this is solved for you.
🙌🏿 1