anchor.diff:          {ViewKVs, DocIdViewIdKeys} = view_insert_query_results(Docs,
                       Results, ViewEmptyKVs, DelKVs),
           couch_work_queue:queue(WriteQueue, {LastSeq, ViewKVs, DocIdViewIdKeys}),
  -        do_maps(Group1, MapQueue, WriteQueue, ViewEmptyKVs)
  +        ?MODULE:do_maps(Group1, MapQueue, WriteQueue, ViewEmptyKVs)
       end.
   
   -spec do_writes(pid(), pid() | nil, #group{}, pid(), boolean()) -> any().
  
positive.code:                 NewGroup#group{current_seq=couch_db:get_update_seq(Db)}})
      end.
  
  
  purge_index(Db, #group{views=Views, id_btree=IdBtree}=Group) ->
      {ok, PurgedIdsRevs} = couch_db:get_last_purged(Db),
  
negative.code: 
  -module(couch_view_updater).
  
  -export([update/2, do_maps/4, do_writes/5, load_docs/3]).
  
  -include("couch_db.hrl").
  
  