Mongomat is the best place to manage mongodb data. The query builder ui and the completely customizable detail editor are the highlights of mongomat.
The main application is split into different views. The views can be switched in the drop-down-list in the top toolbar. The list will start with the following items:
Select a database and a collection from the view selector in the top toolbar. The view changes and provides a grid on the left and a detail editor on the right.
The settings view is accessed from the view selector or by clicking on settings in a collection view. The settings view contains metadata for the collections. This metadata is stored in a special mongodb database. The settings view is just like a collection view for the collection metadata with extra functionality.
The detail editor provides the following properties in the top pane:
Schema
A collection can have one or more schemas associated with it. The purpose of the schema is to guide the user in editing documents by providing a sophisticated detail editor. Either there is a single schema for all documents in the collection or each document contains a property that serves as type discriminator - called type property. Schemas are stored separately and it is possible to compose schemas by reference, so that even a recursive schema structure representing a tree model is possible.
The following operations are available:Generating the schema
Generating the schema is a very useful feature if there is an existing collection containing documents. The generation dialog asks the user to specify the number of documents to sample and optionally the name of the type property. Restricting the number of samples will yield a faster generation process but may produce a less exact result. The type property maybe specified if one exists. A type property is a property whose value is interpreted as a type discriminator. There will be a distinct schema for each value of the property. If the documents in the collection were created by a Mapping library in a statically typed OO-language (e.g. Morphia or spring data for Java) then the name of the class will most likely be stored in the type property.
Once you generated the schema you still want to customize it.
Customizing schema and editor
The schema contains information about the editor which the author uses to create and edit documents:
The list of dbs provides information about their size on disk. The details include the list of collections.
The operations available on a single db include the creation of a new collection and the synchronization between
the actual db's collections and the collections stored in the metadata store. When starting the app these two will be synchronized automatically. If a new collection is created in the db while this app is running then this new collection will not be displayed until a synchronization is performed. A db cannot be created in mongomat right now.