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 2012/07/25 11:42:35 UTC

[jira] [Resolved] (COUCHDB-1514) Add additional data to attachments

     [ https://issues.apache.org/jira/browse/COUCHDB-1514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Newson resolved COUCHDB-1514.
------------------------------------

    Resolution: Duplicate

Duplicate of COUCHDB-259.
                
> Add additional data to attachments
> ----------------------------------
>
>                 Key: COUCHDB-1514
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1514
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Database Core
>    Affects Versions: 1.2
>            Reporter: Bernhard Hörmann
>
> I suggest to add the possibility to store data in the _attachment object. 
> For example:
> {"myImage.jpg"=>{"content_type"=>"image/jpeg", "stub"=>true, "length"=>25898,"type":"teaser_image","uploader":"userXY","copyright":"artistXY"}}
> Now, you need an additional object to store these information and you have to keep it up to date (for example, if the _attachment is delete, etc.) by yourself.
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira