anchor.diff:  -spec foreach_link(model_behaviour:model_config(), Key :: datastore:ext_key(),
       fun((datastore:link_name(), datastore:link_target(), Acc :: term()) -> Acc :: term()), AccIn :: term()) ->
       {ok, Acc :: term()} | datastore:link_error().
  -foreach_link(#model_config{bucket = Bucket} = ModelConfig, Key, Fun, AccIn) ->
  -    case get(ModelConfig, links_doc_key(Bucket, Key)) of
  +foreach_link(#model_config{bucket = _Bucket} = ModelConfig, Key, Fun, AccIn) ->
  +    case get(ModelConfig, links_doc_key(Key)) of
           {ok, #document{value = #links{link_map = LinkMap}}} ->
               {ok, maps:fold(Fun, AccIn, LinkMap)};
           {error, {not_found, _}} ->
  
positive.code: -export([init_bucket/3, healthcheck/1, init_driver/1]).
  -export([save/2, create/2, update/3, create_or_update/3, exists/2, get/2, list/3, delete/3]).
  -export([add_links/3, delete_links/3, fetch_link/3, foreach_link/4]).
  -export([links_key_to_doc_key/1]).
  
  -export([start_gateway/4, force_save/2, db_run/4]).
  
  
negative.code: %%--------------------------------------------------------------------
  -spec fetch_link(model_behaviour:model_config(), datastore:ext_key(), datastore:link_name()) ->
      {ok, datastore:link_target()} | datastore:link_error().
  fetch_link(#model_config{bucket = _Bucket} = ModelConfig, Key, LinkName) ->
      case get(ModelConfig, links_doc_key(Key)) of
          {ok, #document{value = #links{link_map = LinkMap}}} ->
              case maps:get(LinkName, LinkMap, undefined) of
                  undefined ->
  