anchor.diff:      
         
   %% @private
  +
  +server_close(#server_state{dbs_by_pid=DbsPidTid,name=Name}) ->
  +    lists:foreach(fun({_, DbName}) -> 
  +        couchbeam_manager:unregister_db(DbName)
  +    end, ets:match(DbsPidTid, '$1')),
  +    couchbeam_manager:unregister_connection(Name),
  +    ok.
  +
   server_pid(ConnectionId) when is_pid(ConnectionId) ->
       ConnectionId;
   server_pid(ConnectionId) ->
  
positive.code: start_internal(InitialState, _Link = false) ->
      gen_server:start(couchbeam_server, InitialState, []).
      
  info(ConnectionId) ->
      gen_server:call(ConnectionId, info).
      
  %%---------------------------------------------------------------------------
  %% DB operations
  
negative.code:          handle_info/2]).
  -export([start_connection/0, start_connection/1, start_connection_link/0,
           start_connection_link/1]).
  -export([info/1, close/1, create_db/2, open_db/2, open_or_create_db/2, 
           delete_db/2, all_dbs/1, is_db/2, close_db/2]).
           
   
  start_connection() -> start_connection(#couchdb_params{}).
  