Skip to content

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