Details
-
Wish
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
0.8.1
-
None
-
None
-
Regular Contributors Level (Easy to Medium)
Description
I suggest the ability to store arbitrary data in line with single attachments to a doc. The mooted use is to store metadata about that attachment.
For example, a current attachment:
m['_attachments']
=> {"yamanote.jpg"=>{"content_type"=>"image/jpeg", "stub"=>true, "length"=>382613}}
Desired behaviour is to be able to insert persistent metadata like so:
m['_attachments']
=> {"yamanote.jpg"=>{"content_type"=>"image/jpeg", "stub"=>true, "length"=>382613, "width" => 800, "height" => 600, "md5" => "95de7a118ee28824afa8d2ad8fe5819f"}}
And many other use cases according to media type.
Attachments
Issue Links
- depends upon
-
COUCHDB-217 Store Revision of Attachments
- Resolved
- is duplicated by
-
COUCHDB-1803 Adding a title in the attachment
- Closed
- links to