garrensmith commented on a change in pull request #102: Promise support for 
Nano - Issue 98
URL: https://github.com/apache/couchdb-nano/pull/102#discussion_r203307302
 
 

 ##########
 File path: lib/nano.js
 ##########
 @@ -612,6 +688,12 @@ module.exports = exports = nano = function dbScope(cfg) {
       return view(ddoc, viewName, {type: 'view'}, qs, callback);
     }
 
+    // 
http://docs.couchdb.org/en/latest/api/ddoc/views.html#post--db-_design-ddoc-_view-view
+    function viewDocsAsStream(ddoc, viewName, qs, callback) {
+      return view(ddoc, viewName, {type: 'view', stream: true}, qs, callback);
+    }
+    
+
     // geocouch
     function viewSpatial(ddoc, viewName, qs, callback) {
 
 Review comment:
   We might have ton consider dropping support for Geocouch. It doesn't work 
with CouchDb 2.x

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to