Skip to content

Commit

Permalink
Clean up uses of delete_reason in docs and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
the-mikedavis committed Dec 3, 2024
1 parent 549d797 commit 567b503
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/khepri_adv.erl
Original file line number Diff line number Diff line change
Expand Up @@ -862,8 +862,7 @@ delete(PathPattern, Options) when is_map(Options) ->
%% ```
%% %% Delete the tree node at `/:foo/:bar'.
%% {ok, #{data := value,
%% payload_version := 1,
%% delete_reason := explicit}} = khepri_adv:delete(StoreId, [foo, bar]).
%% payload_version := 1}} = khepri_adv:delete(StoreId, [foo, bar]).
%% '''
%%
%% @param StoreId the name of the Khepri store.
Expand Down Expand Up @@ -960,10 +959,8 @@ delete_many(PathPattern, Options) when is_map(Options) ->
%% ```
%% %% Delete all tree nodes matching `/*/:bar'.
%% {ok, #{[foo, bar] := #{data := value,
%% payload_version := 1,
%% delete_reason := explicit},
%% [baz, bar] := #{payload_version := 1,
%% delete_reason := explicit}}} =
%% payload_version := 1},
%% [baz, bar] := #{payload_version := 1}}} =
%% khepri_adv:delete_many(StoreId, [?KHEPRI_WILDCARD_STAR, bar]).
%% '''
%%
Expand Down

0 comments on commit 567b503

Please sign in to comment.