incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From faust 1111 <faust...@gmail.com>
Subject Two kinds of Attachments in doc
Date Thu, 29 Apr 2010 17:37:44 GMT
Hi guy's

I need modeling this:

Audio
  has_attachment
    cover_img
    trac_mp3

{
  _attachments: {
     'super_cover.png': {content_type: ''},
     'my_track.mp3': {}
  }
}

how later i can identify, which file is cover and which is track?
Now i have only this idea:
  store file name in additional field cover_attach_name, trac_attach_name.

But may be another way?

Mime
View raw message