anchor.diff:      exit(not_implemented(delete_db, [DbName, UserCtx])).
   
   purge_docs(Db, IdsRevs) ->
  -    %% couch_db:purge_docs(Db, IdsRevs).
       exit(not_implemented(purge_docs, [Db, IdsRevs])).
   
   get_missing_revs(Db, JsonDocIdRevs) ->
  
positive.code:             throw({unauthorized, <<"password required">>})
      end.
  
  get_db_info(#db{filepath = undefined, name = Name}) ->
      Info = [{db_name, Name},
              {instance_start_time, <<>>}],
      {ok, Info};
  get_db_info(#db{name = <<"_replicator">>} = Db) ->
      couch_db:get_db_info(Db);
  get_db_info(#db{name = DbName}) ->
      [Bucket, _Master] = string:tokens(binary_to_list(DbName), [$/]),
      {ok, Stats0} = ns_memcached:stats(Bucket, <<"">>),
      EpStartupTime =  proplists:get_value(<<"ep_startup_time">>, Stats0),
      Info = [{db_name, DbName},
  
negative.code:     couch_db:start_compact(Db).
  
  cleanup_view_index_files(Db) ->
      exit(not_implemented(cleanup_view_index_files, [Db])).
  
  %% TODO: check if it's useful
  get_group_info(#db{filepath = undefined} = Db, DesignId) ->
      with_subdb(Db, <<"master">>,
                 fun (RealDb) ->
  