Wondering about an ets:select_reverse
equivalent for mnesia
#8993
Labels
enhancement
help wanted
Issue not worked on by OTP; help wanted from the community
team:PS
Assigned to OTP team PS
Is your feature request related to a problem? Please describe.
ets
has aselect_reverse/1-3
, which is the same asselect/1-3
except it traverses anordered_set
table backwards. There doesn't seem to be an equivalent formnesia
, onlymnesia:select/1-4
. Is there a particular reason/limitation for this, or has there simply been no need for it in the past?Describe the solution you'd like
An
mnesia:select_reverse/1-4
would be very useful to me, as I'd like the ability to traverse anordered_set
table in both directions.Describe alternatives you've considered
mnesia
does have anets/1,2
which might work, but I think is undesirable since the given function is executed "in a raw context that is not protected by a transaction."Additional context
I'm a new
mnesia
user, so apologies if I've missed something. If there is no technical reason whymnesia:select_reverse
could not exist, I'd be happy to try to contribute it. I am more of an Elixir than Erlang dev though, so any guidance (outside of reading the contributor's guide of course) would be welcome :)Thanks in advance!
The text was updated successfully, but these errors were encountered: