TI-Tokyo / riak-docs-fork

Riak Products Documentation
http://www.tiot.jp/riak-docs/
Other
4 stars 6 forks source link

Add aae_fold erase_keys #198

Closed pjaclark closed 1 year ago

pjaclark commented 1 year ago

Docs are missing for this aae_fold. Should be added.

Usage is same as reap_tombs: Bucket, KeyRange, SegmentFilter, ModifiedRange, DeleteMethod

E.g. to delete all keys in bucket "bucketname" before 2023-05-01, call:

riak_client:aae_fold({
    erase_keys, 
    <<bucketname>>, 
    all, 
    all,
    {date,{{1970,1,1},{0,1,0}},{{2023,5,1},{0,0,0}}},
    local
    }, Client).
pjaclark commented 1 year ago

Done.