couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sho Fukamachi (JIRA)" <>
Subject [jira] Created: (COUCHDB-259) Ability to store abitrary data in attachment stubs
Date Wed, 18 Feb 2009 14:17:01 GMT
Ability to store abitrary data in attachment stubs

                 Key: COUCHDB-259
             Project: CouchDB
          Issue Type: Wish
          Components: Database Core
    Affects Versions: 0.8.1
            Reporter: Sho Fukamachi
             Fix For: 0.8.1

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:

=> {"yamanote.jpg"=>{"content_type"=>"image/jpeg", "stub"=>true, "length"=>382613}}

Desired behaviour is to be able to insert persistent metadata like so:

=> {"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 is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message