Skip to content

Commit c48d7ae

Browse files
authored
Merge pull request #1 from cindyli/GPII-3138
GPII-3138: Add a couchDB view to return all GPII keys
2 parents f145f66 + 67f7bd6 commit c48d7ae

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

testData/dbData/views.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
},
1717
"findGpiiKeysByPrefsSafeId": {
1818
"map": "function(doc) {if (doc.type === 'gpiiKey') {emit(doc.prefsSafeId, doc)}}"
19+
},
20+
"findAllGpiiKeys": {
21+
"map": "function(doc) {if (doc.type === 'gpiiKey') {emit(doc._id, doc)}}"
1922
}
2023
}
2124
}

0 commit comments

Comments
 (0)