Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mnesia: add select_reverse/1-4 #9475

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Bentheburrito
Copy link

Hello, this PR adds mnesia:select_reverse/1-4 and supporting functions in mnesia_lib, bringing the mnesia API closer to ets's.

Related issue: #8993

Much of this is copy/paste of select/1-6, with the needed tweaks to call the new mnesia_lib:*_rev_* functions and lists:sort in descending order. The tests are also nearly identical to select's tests, only they assert on the expected reverse ordering.

Adds mnesia:select_reverse/1-4 and supporting functions in mnesia_lib,
bringing the mnesia API closer to ets's.

Related GH issue: erlang#8993
@CLAassistant
Copy link

CLAassistant commented Feb 24, 2025

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

CT Test Results

Tests are running... https://github.com/erlang/otp/actions/runs/13492043267

Results for commit d096cda

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

  • No CT logs found
  • No HTML docs found
  • No Windows Installer found

// Erlang/OTP Github Action Bot

@jhogberg jhogberg added the team:PS Assigned to OTP team PS label Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team:PS Assigned to OTP team PS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants