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

Add support for path, subtree, parents, descendants methods on scopes #17

Open
njakobsen opened this issue Jan 26, 2021 · 0 comments
Open
Assignees
Labels

Comments

@njakobsen
Copy link
Contributor

njakobsen commented Jan 26, 2021

These would get the corresponding records for each of the records in the scope. Be sure to not interpret the scope as the list of records that can be returned, since this would be incorrect.

Potential usage:

my_scope.subtree #=> a relation with all the records from the subtrees of each of the records in `my_scope`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants