couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernhard Hörmann (JIRA) <j...@apache.org>
Subject [jira] [Created] (COUCHDB-1514) Add additional data to attachments
Date Wed, 25 Jul 2012 09:26:34 GMT
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

       

Mime
View raw message