0
Die Dokumente in der Datenbank sind wie folgt:Comparig Dokumente in couchdb und unter Zählung
_id 999A
properties {cust_id:1234,
loc_id:ABC}
_id 999B
properties {cust_id:1234,
loc_id:ABD}
_id 999C
properties {cust_id:1235,
loc_id:ABD}
_id 999D
properties {cust_id:1235,
loc_id:ABE}
Ich brauche die Zählung und ID von Kunden zu erhalten, die zwei bestimmte Kliniken (wie ABC und ABD) besuchen. Wie soll meine Anfrage aussehen?