apache / apache/couchdb

Allow query to return documents with attachments

Open
#1,974 1 comment 0 reactions 0 assignees View on GitHub
enhancement mango
Dominant language
Erlang
Stars
7k
Forks
1.1k
Avg merge
1d 16h
Merged PRs (30d)
9

Description

Currently the `find` query system doesn't give the option to return documents with their attachments.

Would it be good to add an `attachments:true` option.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the `find` query system and how it currently handles documents and attachments. Define the expected behavior of an `attachments:true` option, then identify the relevant tests and update them so queries with and without the option have clear, verifiable results.

Written by the indexing model from the issue text.

Assessment

Tech stack
erlang
Domain
databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.