We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4b236d commit 65812e9Copy full SHA for 65812e9
vmdb-api/repository.go
@@ -84,7 +84,7 @@ func (r *Repository) listUnscoredAnswersFor(ctx context.Context, problemID uuid.
84
result := []Answer{}
85
err := r.db.NewSelect().ColumnExpr("answers.*").
86
Table("answers").
87
- Join("INNER JOIN scores").JoinOn("answers.id = scores.answer_id").
+ Join("LEFT JOIN scores").JoinOn("answers.id = scores.answer_id").
88
Where("problem_id = ?", problemID).
89
Where("point IS NULL").
90
Scan(ctx, &result)
0 commit comments