# Inluxdb in node

**URL:** <https://discourse.nodered.org/t/inluxdb-in-node/84664>\
**Category:** General\
**Created:** [17 January 2024 17:24 UTC](https://discourse.nodered.org/t/inluxdb-in-node/84664 "2024-01-17T17:24:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kimber](https://avatars.discourse-cdn.com/v4/letter/k/71c47a/32.png) [@Kimber](https://discourse.nodered.org/u/Kimber)\
**Post date:** [17 January 2024 17:24 UTC](https://discourse.nodered.org/t/inluxdb-in-node/84664/1 "2024-01-17T17:24:43Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![Kimber](https://avatars.discourse-cdn.com/v4/letter/k/71c47a/32.png) [@Kimber](https://discourse.nodered.org/u/Kimber)\
**Post date:** [17 January 2024 17:31 UTC](https://discourse.nodered.org/t/inluxdb-in-node/84664/2 "2024-01-17T17:31:58Z")

</div>

Influxdb in node.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [17 January 2024 17:38 UTC](https://discourse.nodered.org/t/inluxdb-in-node/84664/3 "2024-01-17T17:38:31Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [17 March 2024 17:39 UTC](https://discourse.nodered.org/t/inluxdb-in-node/84664/4 "2024-03-17T17:39:28Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
