The listCommands command lists all available commands, and for "special things" it returns a dedicate field for it.
These special things include adminOnly and slaveOk.
A command returning a cursor should be considered as a special behaviour and be marked so.
"aggregate" : {
"help" : "{ pipeline : [ { <data-pipe-op>: {...}}, ... ] }",
"lockType" : 0,
"slaveOk" : false,
"adminOnly" : false,
"slaveOverrideOk" : true
},
I'd like to have a "top level field" there called cursor: true/false to clearly differentiate this command from others as it has very specific capabilities.