Skip to content
This repository was archived by the owner on Nov 5, 2018. It is now read-only.
This repository was archived by the owner on Nov 5, 2018. It is now read-only.

What is the keys in view function based on? Is it the key you emit in the views/map function? #354

Description

@flynsequeira

the param in view function - {keys: [key1,key2]}
is the key based on the emit part of the view function? If so, will I be able to set anything as key, like the _id?
views: {
"all": {
"map": "function(doc){if(doc) emit(doc._id,null)}"
}
}
If this is not the case, could you please clarify as to what keys refers to OR how I can query based on an array of id?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions