Documentation
README
db-mongo
Query MongoDB databases declared in .env. Same numbered block pattern as every other db-* and SOCIAL_*_N_* integration.
Setup β one-time, per database
Add a block to .env (gitignored). Two ways to define a connection:
Option A β URI (recommended for Atlas / managed)
DB_MONGO_1_LABEL=orders-dev
DB_MONGO_1_URI=mongodb+srv://user:pw@cluster0.abc.mongodb.net/orders?retryWrites=true
# DB_MONGO_1_DATABASE=orders # optional if in URI
# DB_MONGO_1_ALLOW_WRITE=false
# DB_MONGO_1_QUERY_TIMEOUT=30
# DB_MONGO_1_MAX_ROWS=1000
Option B β components
This is the opening of the README. Read the full README on GitHub.