They are a step forward in designing a database with data over multiple collections and references between them via ObjectId’s. Have a look on relational data browse and the virtual foreign keys there, Now I am dealing with virtual foreign key from them, to explore data from two collections bind referencing one the other via ObjectId’s.Look for DbSchema tool, is great for the diagrams they do for MongoDB, query builder and data explorer.Some features you may discover inside like virtual foreign keys makes the interaction really similar with relational databases, where you can place data in multiple collections and join it with ObjectId’s.I was surprised to see is possible to have diagrams for MongoDB as well, as for any relational database. Second I found great an data explorer from them, where you can explore data from each collection and sub-documents in a separate window. First of all I was impressed because they do diagrams for MongoDB. Set password protection for your project. Nice tutorial, and recently I discovered a tool simply called DbSchema ( ). A free & simple tool to create web-based database documentation using DSL code. Referential integrity in MongoDB Collections Use of Populate in Mongoose Attribute as Primary key or set of attributes as Primary key in a Collection.
0 Comments
Leave a Reply. |