anchor.diff:              end;
           Result -> Result %% not_found or {error, _}
       end;
  -delete(#context{reqid = ReqId}, ObjectRec) ->
  +delete(ObjectRec, #context{reqid = ReqId}) ->
       QueryName = chef_object:delete_query(ObjectRec),
       Id = chef_object:id(ObjectRec),
       case stats_hero:ctime(ReqId, {chef_sql, delete_object},
  
positive.code:         {error, Why} -> {error, Why}
      end.
  
  -spec delete(#context{}, object_rec()) -> {ok, 1 | 2} | not_found | {error, _}.
  delete(#context{reqid = ReqId} = Ctx,
         #chef_cookbook_version{org_id = OrgId} = CookbookVersion) ->
      case delete_object(Ctx, delete_cookbook_version, CookbookVersion) of
          #chef_db_cb_version_delete{cookbook_delete=CookbookDeleted, deleted_checksums=DeletedChecksums} ->
              ?SH_TIME(ReqId, chef_s3, delete_checksums, (OrgId, DeletedChecksums)),
  
negative.code:         {error, _Why} = Error -> Error
      end.
  
  -spec list(object_rec(), #context{}) -> {ok, [binary()]} | {error, _}.
  list(StubRec, #context{reqid = ReqId} = _Ctx) ->
      stats_hero:ctime(ReqId, {chef_sql, fetch_object_names},
                        fun() ->
                                chef_sql:fetch_object_names(StubRec)
  