You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The generated function func (q *Queries) GetAuthorWithQ(ctx context.Context, q sql.NullString) ([]Author, error) has both a q struct and q parameter, which is invalid go syntax.
Relevant log output
No response
Database schema
CREATETABLEauthors (
id BIGSERIALPRIMARY KEY,
name textNOT NULL,
bio text,
q text
);
SQL queries
-- name: GetAuthorWithQ :manySELECT*FROM authors
WHERE q = $1ORDER BY name;