Add mrdb_index:select() et al #7
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "uw-index-select"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Admittedly minimal test suite cover so far.
The basic idea is this:
mnesia_rocksdb
indexes are ordered setsmrdb_index
module has providedfold
anditerator
functionalitymrdb_index:select[_reverse](Tab, Ix, MatchSpec, [, Limit]
, the match spec operates on a set of tuples{IndexValue, ActualObject}
, so that filtering can be done simultaneously on the index value and the object itself.