You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Bernhard Hörmann (JIRA)" <ji...@apache.org> on 2012/07/25 11:26:34 UTC
[jira] [Created] (COUCHDB-1514) Add additional data to attachments
Bernhard Hörmann created COUCHDB-1514:
-----------------------------------------
Summary: 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
[jira] [Resolved] (COUCHDB-1514) Add additional data to attachments
Posted by "Robert Newson (JIRA)" <ji...@apache.org>.
[ 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