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

Sub queries #2509

Merged
merged 5 commits into from May 5, 2022
Merged

Sub queries #2509

merged 5 commits into from May 5, 2022

Conversation

crossworth
Copy link
Contributor

This PR adds a few example of the sub-query usage, I could not think a better example for the join case.
Related: #2484 (comment)

I have changed the builder.go as well otherwise a empty FROM is always generated:
image

Copy link
Member

@a8m a8m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, I've added a few minor comments.

Thanks for the contribution @crossworth 🙏 ❤️

entc/integration/integration_test.go Outdated Show resolved Hide resolved
entc/integration/integration_test.go Outdated Show resolved Hide resolved
crossworth and others added 2 commits May 5, 2022 15:59
Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>
@crossworth crossworth requested a review from a8m May 5, 2022 19:13
@a8m a8m merged commit 4d1c0af into ent:master May 5, 2022
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.

None yet

2 participants