Replies: 1 comment
-
Agree. Would like to be able to address the values in a dictionary (object) field Although a map/reduce index can iterate the values and emit() items to an index (then query with startkey/endkey), accessing the same with a JSON Mango index would be tres helpful. Alternatively: Is there any semantics/metadata that could be applied to such a view-definition, that would give Mango some kind of access to the map index, perhaps with a spoofed fieldname that can be used in Mango query? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Generate view and query for nested dictionary in document
Expected Behavior
Having documents following this schema:
It might be possible to create a view emitting a sub-field of the nested dictionary of the document for getting a query like this:
Current Behavior
I didn't find any option for working with nested dictionaries. All the references similar to this issue addressed nested lists in the document, not a nested dictionary.
Possible Solution
Is it possible to work with views and queries with this kind of documents?
Your Environment
Currently, I am working with couchdb through the Python library for Cloudant and CouchDB.
Beta Was this translation helpful? Give feedback.
All reactions