$exist does not seem to work in find() method #12598
Unanswered
sadeghhosseini
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am using mongoose
6.3.4.$existsdoes not seem to work withinfind()method.This is my code.
I am trying to get
authordocuments which either does not have the fieldbooksdefined on them or thebookfield is defined on them but it is an empty array.Beta Was this translation helpful? Give feedback.
All reactions