canonical / sqlair

Friendly type mapping for SQL databases
Apache License 2.0
16 stars 8 forks source link

Bugfix: Expose SQL ErrNoRows from GetAll by removing unhelpful wrapper #143

Closed Aflynn50 closed 3 months ago

Aflynn50 commented 3 months ago

The sql.ErrNoRows errors were being wrapped in a string by GetAll and the tests for this were broken. This fixes the bug by removing the somewhat unhelpful wrapping text and fixing the tests.