You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by gi...@git.apache.org on 2017/09/01 15:28:05 UTC

[GitHub] iilyak commented on a change in pull request #765: include mrview options in _explain result

iilyak commented on a change in pull request #765: include mrview options in _explain result
URL: https://github.com/apache/couchdb/pull/765#discussion_r136601486
 
 

 ##########
 File path: src/mango/src/mango_cursor_view.erl
 ##########
 @@ -56,18 +56,31 @@ create(Db, Indexes, Selector, Opts) ->
 
 explain(Cursor) ->
     #cursor{
-        index = Idx,
-        ranges = Ranges
+        opts = Opts
     } = Cursor,
-    case Ranges of
-        [empty] ->
-            [{range, empty}];
-        _ ->
-            [{range, {[
-            {start_key, mango_idx:start_key(Idx, Ranges)},
-            {end_key, mango_idx:end_key(Idx, Ranges)}
-        ]}}]
-    end.
+
 
 Review comment:
   Previous implementation returned `range` property as well. We don't return it anymore. Would it be a problem for fauxton?
 
----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services