Replies: 1 comment 5 replies
-
There isn't a good publicly facing way to do this, other than to Why are you looking to check whether a given query has already been executed? |
Beta Was this translation helpful? Give feedback.
5 replies
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.
-
I have the following code:
I want to check if the
query
was executed, how do I check that? is there something like the following I can use in mongoose?I know that I can simply see if the variable
resolvedValue
is not undefined, but I want to check if there's such an option in mongoose, which would be pretty handy if it exists.Beta Was this translation helpful? Give feedback.
All reactions