Inluxdb in node

Good Afternoon.
I'm looking for assistance with my project.
I am using Node-Red and InfluxDB2.0 I have several instances where I'm moving data into a database from Node-red. Now I want to pull data from the Database and use it for something else.
What would be an example of the code needed in the "Query" section of the node to make it work?

Thank you in advance!

Influxdb in node.

You have to use an appropriate flux query. Have a look at the influxdb docs.