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

Unwind operation [WIP] #242

Merged
merged 7 commits into from
Feb 16, 2021
Merged

Unwind operation [WIP] #242

merged 7 commits into from
Feb 16, 2021

Conversation

kellrott
Copy link
Member

@kellrott kellrott commented Feb 5, 2021

Adding an unwind op to gripql that take an array in an element, and replicates it into a new element for every item in the array.

So
{ "name" : "bob", "scores" : [1,2,3] }
Becomes
{ "name" : "bob", "scores" : 1 }
{ "name" : "bob", "scores" : 2 }
{ "name" : "bob", "scores" : 3 }

@kellrott kellrott requested a review from bwalsh February 7, 2021 07:17
@kellrott kellrott merged commit aa08f23 into develop-0.7.0 Feb 16, 2021
@kellrott kellrott deleted the unwind branch February 27, 2021 00:05
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

Successfully merging this pull request may close these issues.

1 participant