2 ms·
DocumentDB has a similar looking (maybe not as powerful) interface: context.collection.filter(function(doc) { return doc.city == "Melbourne" && doc.ratin
by reubenbond 12y ago
DocumentDB has a similar looking (maybe not as powerful) interface:
context.collection.filter(function(doc) {
return doc.city == "Melbourne" && doc.rating > 4.5;
}).map(function(doc) {
return doc.displayName;
});