Skip to content

Cross join nested data #104

Answered by springcomp
eddycharly asked this question in Q&A
Sep 11, 2024 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

@eddycharly

map(&let $n=name, $cs=cities in map(&{name: $n, city:@}, $cs), @.states)[]

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by eddycharly
Comment options

You must be logged in to vote
1 reply
@springcomp
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants