[20:18:17] <neo1691> I have a small question to ask. I am trying to learn how indexes work, and have created some indexes and running some queries through the explain command. I want to see which indexes will be used and which will be rejected. However, the examples and tutorial on the internet have different output of explain than mine.
[20:19:35] <neo1691> I am using mongodb 3.2.8, and I cannot see fields like cursor, and allPlansExecution field is always empty (when using allPlansExecution parameter of explain)
[20:21:03] <neo1691> Even scanAndOrder is missing. So I am unable to follow many tutorials online. Can someone help? Has something changed in the recent version of mongodb?
[20:38:13] <Yakabu> Hi. I have a collection where each resource/item has a "permissions" field. This permissions field describes how the resource can be accessed/changed by users. E.g. for reading resources, "permissions.user1.read": ["field1", "field2"] means that user1 can read fields "field1" and "field2". Is there a way I can map results in a single query to make queries only return the fields that the user is permitted to access? Thank you.
[20:50:08] <neo1691> Here is the example I am using to understand indexes https://www.compose.com/articles/explain-explain-understanding-mongo-query-behavior/