We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 607aff1 commit f7f0b86Copy full SHA for f7f0b86
1 file changed
docs/howto/select.md
@@ -175,9 +175,9 @@ type GetInfoForAuthorRow struct {
175
BirthYear int
176
}
177
178
-func (q *Queries) GetBioForAuthor(ctx context.Context, id int) (GetBioForAuthor, error) {
+func (q *Queries) GetInfoForAuthor(ctx context.Context, id int) (GetInfoForAuthorRow, error) {
179
row := q.db.QueryRowContext(ctx, getInfoForAuthor, id)
180
- var i GetBioForAuthor
+ var i GetInfoForAuthorRow
181
err := row.Scan(&i.Bio, &i.BirthYear)
182
return i, err
183
0 commit comments