Closed ezekielchow closed 1 month ago
I think that's because of pgx. You just either match against pgx.ErrNoRows
or use errors.Is()
```sql SELECT * FROM users WHERE email=$1;
Ahh yes. Checked and found that. Will be closing this issue then. Thank you
Version
1.27.0
What happened?
Go version: 1.22.5
Error returned for :one query without results doesn't match database/sql.ErrNoRows
Relevant log output
No response
Database schema
SQL queries
Configuration
Playground URL
No response
What operating system are you using?
Linux
What database engines are you using?
PostgreSQL
What type of code are you generating?
Go