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

Support for SORT in collection.find function #358

Closed
denizalpaslan opened this issue Jan 26, 2025 · 6 comments
Closed

Support for SORT in collection.find function #358

denizalpaslan opened this issue Jan 26, 2025 · 6 comments
Assignees

Comments

@denizalpaslan
Copy link
Contributor

Hi,

As I see in the API spec, currently it's not possible to specify sort parameters (field name and order) for "find" function. I think it would be a nice enhancement as it is a common operation. Ideally the function could receive a list of sort parameters (sort by multiple fields, each having a field name and a sort direction).

Would like to submit a PR for that.

@denizalpaslan
Copy link
Contributor Author

Here's a PR to address that: #359

@apetenchea apetenchea self-assigned this Jan 28, 2025
@apetenchea
Copy link
Member

Hi @denizalpaslan,

Thanks, I'll try and have a look this week.

@hseher
Copy link

hseher commented Feb 24, 2025

Is there a plan on having a new release of python-arango soon? I want to use this feature with the collection.find functionality. But in the current 8.1.4 release it is not included.
This would be much appreciated

@apetenchea
Copy link
Member

Is there a plan on having a new release of python-arango soon? I want to use this feature with the collection.find functionality. But in the current 8.1.4 release it is not included. This would be much appreciated

Yes, once #361 is merged. Hopefully in about 10 mins 😄

@apetenchea
Copy link
Member

apetenchea commented Feb 24, 2025

Done, see https://pypi.org/project/python-arango/ (8.1.5)

@hseher
Copy link

hseher commented Feb 24, 2025

And it is working like a charm 🥑💪

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

3 participants