Skip to content

Instantly share code, notes, and snippets.

@thamenato
Created February 23, 2018 12:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thamenato/faacfda95bd729703dd4a5be82c0ccc4 to your computer and use it in GitHub Desktop.
Save thamenato/faacfda95bd729703dd4a5be82c0ccc4 to your computer and use it in GitHub Desktop.
{
"total_rows": 2,
"indexes": [
{
"ddoc": null,
"name": "_all_docs",
"type": "special",
"def": {
"fields": [
{
"_id": "asc"
}]
}
},
{
"ddoc": "_design/poll-mango",
"name": "getPoll",
"type": "json",
"def": {
"fields": [{
"ClassName": "asc"
},
{
"House": "asc"
},
{
"Date": "asc"
}],
"partial_filter_selector": {
"ClassName": {
"$eq": "sl_poll"
}
}
}
}
]
}
{
"selector": {
"House.Initials": "CD"
},
"fields": [
"ClassName",
"Date"
],
"use_index": "poll-mango"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment