Feature: optional return with automatic NoRows error handling for Go #4289
Unanswered
jaglyserx
asked this question in
Feature Requests & Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've started sketching on a PR (#4286) for what I semantically tend to call first() in most ORMs or similar. Basically what I would want is a command for code to return a pointer to the row struct, instead of error when there are no rows. What are your thoughts on this?
Beta Was this translation helpful? Give feedback.
All reactions