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

Allow multimple selects #369

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Allow multimple selects #369

wants to merge 1 commit into from

Conversation

fairking
Copy link

@fairking fairking commented Apr 16, 2024

This change would allow for multiple selects.

For example:

var query = rel.Select("id", "title").From("pools")

if includeAvgScore {
    query.Select("avg_score AS score")
} else {
    query.Select("score")
}

Copy link

codecov bot commented Apr 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (7ac79bf) to head (e9d4756).
Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##            master      #369    +/-   ##
==========================================
  Coverage   100.00%   100.00%            
==========================================
  Files           35        35            
  Lines         4085      3462   -623     
==========================================
- Hits          4085      3462   -623     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@fairking fairking mentioned this pull request Apr 16, 2024
@fairking fairking changed the title Alias issue #69 Allow multimple selects Apr 18, 2024
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