anchor.diff:      UserCtx = #user_ctx{roles=[<<"_admin">>]},
       with_subdb(Db, VBucket, UserCtx, Fun).
   
  -update_doc(_Db, #doc{id = <<?LOCAL_DOC_PREFIX, _/binary>>},
  -           _Options) ->
  -    ok;
  -
   update_doc(#db{filepath = undefined, name=Name},
              #doc{id = <<"_design/",_/binary>>} = Doc, _Options) ->
       case valid_ddoc(Doc) of
  
positive.code:             %% rpc transforms exceptions into values; need to rethrow them
              throw(Error)
      end.
  
  update_docs(#db{filepath = undefined, name = Name}, Docs, _Options) ->
  
  
negative.code:     exit(not_implemented(get_revs_limit, [Db])).
      %% couch_db:get_revs_limit(Db).
  
  open_doc(#db{filepath = undefined} = Db, <<"_design/",_/binary>> = DocId, Options) ->
      with_subdb(Db, <<"master">>,
                 fun (RealDb) ->
  