Skip to content

Instantly share code, notes, and snippets.

@klauer
Created February 9, 2016 18:29
Show Gist options
  • Save klauer/d168d3a18fd171b93dbe to your computer and use it in GitHub Desktop.
Save klauer/d168d3a18fd171b93dbe to your computer and use it in GitHub Desktop.
filestore index
> db.datum.getIndexSpecs()
[
{
"v" : 1,
"key" : {
"_id" : 1
},
"name" : "_id_",
"ns" : "filestore.datum"
},
{
"v" : 1,
"key" : {
"datum_id" : -1
},
"name" : "datum_id_-1",
"ns" : "filestore.datum",
"background" : false
},
{
"v" : 1,
"unique" : true,
"key" : {
"datum_id" : 1
},
"name" : "datum_id_1",
"ns" : "filestore.datum",
"background" : false,
"sparse" : false
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment