anchor.diff:                  include_docs = true
               },
               Args = apply_opts(Cursor#cursor.opts, BaseArgs),
  -            {ok, LastCursor} = case mango_idx:def(Idx) of
  +            Result = case mango_idx:def(Idx) of
                   all_docs ->
                       CB = fun ?MODULE:handle_all_docs_message/2,
                       fabric:all_docs(Db, CB, Cursor, Args);
  
positive.code:     case couch_util:get_value(id, RowProps) of
          <<"_design/", _/binary>> -> true;
          _ -> false
      end.
negative.code:                     Name = mango_idx:name(Idx),
                      fabric:query_view(Db, DDoc, Name, CB, Cursor, Args)
              end,
              case Result of
                  {ok, LastCursor} ->
                      {ok, LastCursor#cursor.user_acc};
                  {error, Reason} ->
                      {error, Reason}
              end
      end.
  
  
  