You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But instead compare 2 (or more) values in the twin, e.g. (in this example, relying on that nextExpectedReceiveTime is updated with each lastReceiveTime dynamically to the next expected "heartbeat" message from a device):
There are scenarios where one would not like to define a concrete value to search for, e.g.:
But instead compare 2 (or more) values in the twin, e.g. (in this example, relying on that
nextExpectedReceiveTime
is updated with eachlastReceiveTime
dynamically to the next expected "heartbeat" message from a device):I found that the MongoDB
$expr
might be able to do such queries:Compare Two Fields from a Single Document
We would need to:
$expr
really works for such a use caseThingPredicateVisitor
to also support this (e.g. in order to be used withincondition
)The text was updated successfully, but these errors were encountered: