Skip to content

Glossary: Go in Practice

sql.ErrNoRows

Also written: ErrNoRows

The error `Scan` returns when a one-row query found no row. `GetProduct` turns it into `ErrNotFound`.

Where the book teaches it

Related terms

ScanSentinel error