# Mongodb3 node : how to pass information from function node

**URL:** https://discourse.nodered.org/t/mongodb3-node-how-to-pass-information-from-function-node/64197
**Category:** General
**Created:** [21 June 2022 08:43 UTC](https://discourse.nodered.org/t/mongodb3-node-how-to-pass-information-from-function-node/64197 "2022-06-21T08:43:49Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![UnborN](https://avatars.discourse-cdn.com/v4/letter/u/4491bb/32.png) [@UnborN](https://discourse.nodered.org/u/UnborN)
#### Post date: [22 June 2022 10:41 UTC](https://discourse.nodered.org/t/mongodb3-node-how-to-pass-information-from-function-node/64197/7 "2022-06-22T10:41:22Z")

</div>

Its not clear from the [documenation](https://flows.nodered.org/node/node-red-contrib-mongodb3) of the mongodb3 node that you can dynamically pass a URI for the db. maybe its not supported.

The node hasnt been updated for more than 3 years and very recently another user was getting errors with the aggregation option of the same node ([forum post](https://discourse.nodered.org/t/problem-use-aggregate-with-mongodb3/64191))

I did some tests with the more recent and updated [node-red-node-mongodb](https://flows.nodered.org/node/node-red-node-mongodb)  
I think you should use this instead

---

_[View the full topic](https://discourse.nodered.org/t/mongodb3-node-how-to-pass-information-from-function-node/64197)._
