Skip to content

Instantly share code, notes, and snippets.

@miguelangelnieto
Last active September 7, 2020 11:12
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save miguelangelnieto/6904a06397a7ce027f919f7e35e88da1 to your computer and use it in GitHub Desktop.
Save miguelangelnieto/6904a06397a7ce027f919f7e35e88da1 to your computer and use it in GitHub Desktop.
{
"queryPlanner" : {
"plannerVersion" : 1,
"namespace" : "test.names",
"indexFilterSet" : false,
"parsedQuery" : {
"$and" : [
{
"Name" : {
"$eq" : "Miguel"
}
},
{
"Age" : {
"$gt" : 34
}
}
]
},
"winningPlan" : {
"stage" : "SORT",
"sortPattern" : {
"Street" : 1
},
"inputStage" : {
"stage" : "SORT_KEY_GENERATOR",
"inputStage" : {
"stage" : "COLLSCAN",
"filter" : {
"$and" : [
{
"Name" : {
"$eq" : "Miguel"
}
},
{
"Age" : {
"$gt" : 34
}
}
]
},
"direction" : "forward"
}
}
},
"rejectedPlans" : [ ]
},
"serverInfo" : {
"host" : "Miguels-MacBook-Pro.local",
"port" : 27017,
"version" : "3.6.8",
"gitVersion" : "6bc9ed599c3fa164703346a22bad17e33fa913e4"
},
"ok" : 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment