From dev-return-3187-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Fri Mar 06 22:54:22 2009 Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 75522 invoked from network); 6 Mar 2009 22:54:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Mar 2009 22:54:21 -0000 Received: (qmail 5242 invoked by uid 500); 6 Mar 2009 22:54:21 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 4882 invoked by uid 500); 6 Mar 2009 22:54:19 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 4524 invoked by uid 99); 6 Mar 2009 22:54:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Mar 2009 14:54:18 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Mar 2009 22:54:16 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 539B5234C4AF for ; Fri, 6 Mar 2009 14:53:56 -0800 (PST) Message-ID: <1303509204.1236380036341.JavaMail.jira@brutus> Date: Fri, 6 Mar 2009 14:53:56 -0800 (PST) From: "Chris Anderson (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Updated: (COUCHDB-259) Ability to store abitrary data in attachment stubs In-Reply-To: <702755523.1234966621852.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Anderson updated COUCHDB-259: ----------------------------------- Fix Version/s: (was: 0.8.1) 0.9 > 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 > Priority: Minor > Fix For: 0.9 > > > 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 is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.