I'm trying to achieve the same results as I can get from MySQL query:
select * from items where updated_at + refresh_interval < now()
where updated_at
is a BSON\UTCDateTime and refresh_interval
is int holding interval in seconds.
for my MongoDB collection. So I probably need $add and Date() functions, but I have hard time to understand where exactly these should be used.