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

Support loading association using Join query #302

Merged
merged 4 commits into from Jul 2, 2022

Conversation

Fs02
Copy link
Member

@Fs02 Fs02 commented Jul 2, 2022

assoc can be loaded if it's specified in select query, example:

rel.Select("*", "work_address.*").JoinAssoc("work_address"))

@codecov
Copy link

codecov bot commented Jul 2, 2022

Codecov Report

Merging #302 (075ffcb) into master (57e2c90) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #302   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           35        35           
  Lines         2866      2879   +13     
=========================================
+ Hits          2866      2879   +13     
Impacted Files Coverage Δ
join_query.go 100.00% <100.00%> (ø)
query.go 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 57e2c90...075ffcb. Read the comment docs.

@Fs02 Fs02 marked this pull request as ready for review July 2, 2022 15:19
@Fs02 Fs02 merged commit dfc48ca into master Jul 2, 2022
@Fs02 Fs02 deleted the add-join-assoc-query-builder branch July 2, 2022 15:19
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

1 participant