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

distinct does not retain order, while assert_distinct does #7238

Open
jollygreenlaser opened this issue Apr 19, 2024 · 0 comments
Open

distinct does not retain order, while assert_distinct does #7238

jollygreenlaser opened this issue Apr 19, 2024 · 0 comments

Comments

@jollygreenlaser
Copy link

  • EdgeDB Version: EdgeDB Version: 4.4+596d0e4 on Ubuntu 22.04.3 LTS
  • EdgeDB CLI Version: EdgeDB CLI 4.1.0+a8fe4d7

Given that assert_distinct is a check, while distinct can modify, this makes sense. However, the docs and examples all imply that distinct does retain order. While it would be nice for it to do so, it should at least be noted in the docs if it does not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant