Registry / database / node-red-contrib-viseo-mongodb

node-red-contrib-viseo-mongodb

JSON →
library0.5.5jsnpmunverified

A Node-RED configuration node for connecting to MongoDB databases within the VISEO Bot Maker ecosystem. Version 0.5.5 is the latest stable release, part of the node-red-contrib-viseo suite. It requires the nosql node for query operations. As a component of a larger bot-building framework, it is not standalone but provides MongoDB connectivity for VISEO's Node-RED nodes. Release cadence is tied to the parent project.

npm install node-red-contrib-viseo-mongodb
INSTALL
IMPORT
SIG · NODE-RED-CONTRIB-V
N
node-red-contrib-viseo-mongodb
databasejavascriptv0.5.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MongoDB
// No import needed; node is used within Node-RED flow editor.
const MongoClient = require('mongodb'); // Do not use MongoDB driver directly with this node.
This is a Node-RED configuration node. It is not imported in code but placed in a Node-RED flow.

Shows installation and basic flow setup for using MongoDB with VISEO NoSQL node in Node-RED.

// Install the node in Node-RED user directory npm install node-red-contrib-viseo-mongodb // Then in Node-RED flow editor: // 1. Add a 'nosql' node from the palette // 2. Add a 'mongodb config' node // 3. Configure mongodb config node with your connection string (e.g., mongodb://localhost:27017/mydb) // 4. Wire mongodb config to nosql node // 5. In nosql node, select operation (find, insert, update, etc.) // 6. Deploy and inject test payload
Debug
Known issues
gotchaRequires node-red-contrib-nosql to function; the mongodb config node alone does nothing.
fix
Ensure node-red-contrib-nosql is installed alongside this package.
affects: >=0.0.1
deprecatedThe project uses an outdated MongoDB driver; may not support newer MongoDB features like transactions or SRV connection strings.
fix
Consider using the official node-red-contrib-mongodb or update to a newer VISEO release if available.
affects: <=0.5.5
gotchaNode is part of a larger ecosystem (node-red-contrib-viseo) and may have hidden dependencies not listed.
fix
Review the full node-red-contrib-viseo project for additional requirements.
affects: >=0.0.1
brokenDocumentation is minimal and in French; English users may need to inspect source code for configuration details.
fix
Refer to the project wiki on GitHub or examine the source code directly.
affects: <=0.5.5
Errors
Common errors & fixes
Error: Cannot find module 'node-red-contrib-nosql'
Missing required dependency.
fix
npm install node-red-contrib-nosql
MongoNetworkError: failed to connect to server [localhost:27017] on first connect
MongoDB not running or connection string incorrect.
fix
Ensure MongoDB is started and connection URL is correct (e.g., mongodb://localhost:27017/mydb)
Upgrade
Version history
0.5.5latest on npm
Audit
Dependencies
node-red-contrib-nosqlrequiredRequired to perform NoSQL queries against the MongoDB connection.
Agent activity
5 hits · last 30 days
node
4
Resources
node-red-contrib-viseo-mongodb — npm install node-red-contrib-viseo-mongodb · libregistry