-
Notifications
You must be signed in to change notification settings - Fork 52
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
Edge ordering #53
Comments
@moret It's not currently possible to specify an order. It could be implemented by adding an |
@tothandras I see. I would love to dive in and help with a PR, I'm just not sure if I will be able to right now. But I will keep an eye around. Thank you for your reply! |
@tothandras looks great! In my use case I still need to use the association array own ordering which got solved in memory on the client as you suggested, but the |
@moret Is it okay if I merge it as it is? :) |
@tothandras sure! |
Hi.
I was looking for a way to order edges based on the parent document array, but couldn't find a way. For example, given a model with
Person
andDestinations
and a database:and a query:
I would expect the result:
Is that currently possible with graffiti? I couldn't find a way to do it, nor to order in other collections. Thank you in advance for the attention!
The text was updated successfully, but these errors were encountered: