You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
"data_a": "id-0"
"data_b": "id-1"
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.
This discussion was converted from issue #3091 on March 14, 2021 16:12.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
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