You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/02/15 14:35:20 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=13902403#comment-13902403 ] 

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

Github user Humbedooh commented on the pull request:

    https://github.com/apache/couchdb/pull/51#issuecomment-35156296
  
    Should this be closed? :)


> 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
>            Assignee: Dave Cottlehuber
>            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.1.5#6160)