MongoDB database model class for Compass. Provides a structured representation of a MongoDB database, including collections, indexes, and schema analysis. Version 2.35.0 is the current stable release, part of the MongoDB Compass ecosystem. Built with TypeScript, it offers type-safe database modeling and is used internally by Compass. Infrequently updated, with no known breaking changes in recent versions. Key differentiator: tailored for Compass internal use; not intended for general-purpose MongoDB modeling outside that context.
npm install mongodb-database-modelNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to import and use the createModel factory to instantiate a DatabaseModel object with collections.
Consider using the official MongoDB Node.js driver or mongoose for general-purpose database modeling.
Use 'Model' or 'createModel' instead.
Access model.collections directly (array), not model.collections()
Run 'npm install mongodb-database-model'
No dependency data recorded yet.