Description
hey @cofin I was thinking maybe wrongfully that select_one_or_none was never raising exceptions given its name, am I wrog in expecting that or it can ?
docstring says Raises an exception if more than one row is returned. so it looks like it can in that case
I have a case where it does raise an exception when my query had a typo in a column name, so should the docstring reflect that ?
just want to conform the intended behaviour so that I can use that safely
URL to code causing the issue
No response
MCVE
Steps to reproduce
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
Screenshots
"In the format of: "
Logs
Package Version
main
Platform
Description
hey @cofin I was thinking maybe wrongfully that
select_one_or_nonewas never raising exceptions given its name, am I wrog in expecting that or it can ?docstring says
Raises an exception if more than one row is returned.so it looks like it can in that caseI have a case where it does raise an exception when my query had a typo in a column name, so should the docstring reflect that ?
just want to conform the intended behaviour so that I can use that safely
URL to code causing the issue
No response
MCVE
# Your MCVE code hereSteps to reproduce
Screenshots
"In the format of:
"Logs
Package Version
main
Platform