Skip to content

Commit

Permalink
Alias issue #69
Browse files Browse the repository at this point in the history
  • Loading branch information
fairking committed Apr 16, 2024
1 parent d65f8e1 commit e9d4756
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion query.go
Expand Up @@ -142,7 +142,7 @@ func (q *Query) AddPopulator(populator QueryPopulator) {

// Select filter fields to be selected from database.
func (q Query) Select(fields ...string) Query {
q.SelectQuery = NewSelect(fields...)
q.SelectQuery.Fields = append(q.SelectQuery.Fields, fields...)
return q
}

Expand Down

0 comments on commit e9d4756

Please sign in to comment.