
Security News
High Salaries No Longer Enough to Attract Top Cybersecurity Talent
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
@keystonejs/adapter-mongoose
Advanced tools
This is the last active development release of this package as Keystone 5 is now in a 6 to 12 month active maintenance phase. For more information please read our Keystone 5 and beyond post.
const { MongooseAdapter } = require('@keystonejs/adapter-mongoose');
const keystone = new Keystone({
adapter: new MongooseAdapter({...}),
});
mongoUri
(required)This is used as the uri
parameter for mongoose.connect()
.
Default: Environment variable (see below) or 'mongodb://localhost/<DATABASE_NAME>'
If not specified, KeystoneJS will look for one of the following environment variables:
CONNECT_TO
DATABASE_URL
MONGO_URI
MONGODB_URI
MONGO_URL
MONGODB_URL
MONGOLAB_URI
MONGOLAB_URL
Additional Mongoose config options are passed directly through to mongoose.connect()
.
Default:
{
useNewUrlParser: true,
useFindAndModify: false,
useUnifiedTopology: true,
}
See the Mongoose docs for a detailed list of options.
FAQs
KeystoneJS Mongoose Database adapter.
The npm package @keystonejs/adapter-mongoose receives a total of 304 weekly downloads. As such, @keystonejs/adapter-mongoose popularity was classified as not popular.
We found that @keystonejs/adapter-mongoose demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.
Security News
Corepack will be phased out from future Node.js releases following a TSC vote.