couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Burrer ...@embedit.de>
Subject get by property
Date Fri, 23 Sep 2011 09:14:55 GMT
Hi, I have a document like this

|{
    "|_id|":|"ATmega8A-PU"|,
    "|_rev|":|"5-76258a717723df03afe068a7e001d108"|,
    "|name|":|{
        "|de|":|"ATmega8A-PU"|,
        "|en|":|"ATmega8A-PU"|
    }|,
    "|properties|":|{
        "|Flash|":|"8kByte"|,
        "|RAM|":|"1kByte"|,
        "|Eeprom|":|"512Byte"|,
        "|Package|":|"DIP28S"|
    }|,
    "|record_type|":|"article"|
}|

I want to get all documents with the same property, for example with the 
package "DIP28S" or all docs with the property "RAM":"1kByte".

How should the view look like?

Kind Regards
Markus

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message