You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Robert Newson (JIRA)" <ji...@apache.org> on 2009/02/18 15:45:02 UTC
[jira] Commented: (COUCHDB-259) Ability to store abitrary data in
attachment stubs
[ https://issues.apache.org/jira/browse/COUCHDB-259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674636#action_12674636 ]
Robert Newson commented on COUCHDB-259:
---------------------------------------
+1, I'd like somewhere to store md5 or sha1 values for the attachments too. I attempted a local hack, and while I can manage it on retrieval, my attempts to get it into the stored file failed.
> Ability to store abitrary data in attachment stubs
> --------------------------------------------------
>
> Key: COUCHDB-259
> URL: https://issues.apache.org/jira/browse/COUCHDB-259
> Project: CouchDB
> Issue Type: Wish
> Components: Database Core
> Affects Versions: 0.8.1
> Reporter: Sho Fukamachi
> Priority: Minor
> Fix For: 0.8.1
>
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.