Post History
While writing some documentation I stumbled upon the need to describe the location of a field in a Mongo Collection on one of our corporate servers. After spending a bit of time on this I arrived ...
#3: Attribution notice added
Source: https://writers.stackexchange.com/q/20676 License name: CC BY-SA 3.0 License URL: https://creativecommons.org/licenses/by-sa/3.0/
#2: Initial revision
While writing some documentation I stumbled upon the need to describe the location of a field in a [Mongo Collection](https://docs.mongodb.org/manual/reference/glossary/#term-collection) on one of our corporate servers. After spending a bit of time on this I arrived at the following: **`mongodb://user:pass@host:port/database.collection.field`** How do I document data structures in Mongo? _disclaimer: If this out of scope, It was suggested that I might find help in this SE [HERE](https://meta.stackexchange.com/questions/158495/where-to-ask-about-writing-docs-for-a-library)_ **_(if this incites strong emotions, please vote there too!)_**