Unable to query @refresh metadata #14962
-
I am trying to set up a subscription that refreshes on a schedule (weekly, monthly, etc). The subscription is What I expect is the refresh deletes the metadata, my generation runs, sets a new refresh tag for the next time it should run, and life goes on. However, I absolutely cannot query @refresh. Currently, all the payment request documents do NOT have a refresh tag, but the above query returns 0 results. If I switch it to It returns ALL the requests even though NONE of them have that metadata. Am I doing something wrong here? Edit: I am using 5.4.2 and this behavior happens in my local Raven instance (running in Docker) as well as all of our Cloud instances |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You need to quote the fields:
But your scenario is that you are checking the value of a field that isn't there, you need to use exists():
|
Beta Was this translation helpful? Give feedback.
You need to quote the fields:
But your scenario is that you are checking the value of a field that isn't there, you need to use exists():