I have installed mongo db connector in node red. My mongo db collection has date values in timestamp format. I just want to write a query using mongo db connector so that I should get only last 8 hours date values. How can I write a query in node red?
First off you should ttell us what node you are using -i.e. node-red-contrib-????. Secondly it will be the same query you would use if you were using some other tool. Node-RED is just going to pass the query to the database program so the database program controls the syntax or the query.
Not sure about the mongo db nodes, but other db nodes require the query be in msg.topic
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.