Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Miss column in query builder result for MongoDB #4946
We don't show all columns for every row. We expect the documents in a Mongo collection to all effectively have the same schema.
If you have a per-collection specific key, we won't find and display most of those. In general, I'd recommend naming all the columns the same. Is there a reason you don't use "report" instead of the value of "report" as the key?
This behavior becomes an issue if you e.g. aggregate into documents where not all documents have all the same properties. If the first document is missing them, there is no way to make them visible other than adding those properties to all results (or at least the first returned one).
It would be nice if we could add custom properties / columns in the column selection dialog, e.g. via text box (which would be rendered as empty / undefined if they are missing).