You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/03/19 17:41:41 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=15931846#comment-15931846 ] 

ASF GitHub Bot commented on COUCHDB-259:
----------------------------------------

Github user wohali commented on the issue:

    https://github.com/apache/couchdb/pull/51
  
    @argl We dropped the ball on this PR big time, and I'm sorry for that. Due to the age of this PR and the release of CouchDB 2.0 I'm going to close out this PR.
    
    Do you feel like you might be able to try re-submitting this PR against the CouchDB 2.0 code base? You may also want to look at the pluggable storage engine work coming from Cloudant that @davisp is gathering together over on the branch COUCHDB-3287-pluggable-storage-engines in the couchdb-couch, couchdb-mem3 and couchdb-chttpd repositories.
    
    Thank you again for contributing to CouchDB!


> 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
>
> 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 was sent by Atlassian JIRA
(v6.3.15#6346)