Registry / database / dbgate-plugin-mongo

dbgate-plugin-mongo

JSON →
library7.1.13jsnpmunverified

A plugin for DbGate that adds MongoDB database connectivity, allowing users to browse, query, and manage MongoDB databases directly from the DbGate interface. Version 7.1.13, released as part of the DbGate ecosystem. It is a built-in plugin maintained alongside DbGate, providing native support for MongoDB operations such as collection browsing, document CRUD, and index management. Differentiators: deep integration with DbGate's UI, real-time schema discovery, and support for MongoDB aggregation pipeline directly in the query editor.

npm install dbgate-plugin-mongo
INSTALL
IMPORT
SIG · DBGATE-PLUGIN-MONG
D
dbgate-plugin-mongo
databasejavascriptv7.1.13
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.

dbgate-plugin-mongo
npm install dbgate-plugin-mongo
const plugin = require('dbgate-plugin-mongo')
This package is a DbGate plugin, not a library. It is installed via npm into the DbGate plugin directory and loaded automatically by DbGate. Do not import it directly in code.
default
// No direct import needed; plugin is auto-detected
import mongoPlugin from 'dbgate-plugin-mongo'
DbGate plugins are not imported like regular Node modules. They are discovered and loaded by DbGate at runtime.
dbgate plugin mongo
Add to plugin directory via npm
require('dbgate-plugin-mongo')
The plugin is added by installing the npm package into DbGate's plugin folder, typically done through the DbGate UI or by placing the package in the plugins directory.

Installs the MongoDB plugin for DbGate globally and demonstrates how to enable MongoDB connectivity in the DbGate application.

# Ensure DbGate is installed (e.g., via npm globally) npm install -g dbgate # Install the MongoDB plugin npm install dbgate-plugin-mongo # DbGate will automatically load the plugin on next launch # Then you can connect to MongoDB from DbGate UI
Debug
Known issues
gotchaThis package is a plugin, not a standalone library. Do not require/import it directly in your code.
fix
Use DbGate to manage it as a plugin. Install via npm into DbGate's plugin directory.
affects: >=7.0
gotchaThe plugin only supports MongoDB connections via DbGate; it cannot be used independently.
fix
Ensure DbGate is installed and configured before installing this plugin.
affects: >=7.0
Errors
Common errors & fixes
Module not found: Error: Can't resolve 'dbgate-plugin-mongo'
Attempting to import the plugin as a regular JavaScript module.
fix
Do not import it in code. Install it via npm into the DbGate plugin directory.
Upgrade
Version history
7.1.13latest on npm
Audit
Dependencies
dbgaterequiredRequired as the host application for the plugin.
Agent activity
6 hits · last 30 days
node
6
Resources