query.scalar() doesn't call first() or one() - wtf?!
Issue #1735
resolved
kind of an issue either for documentation or behavior or should do the one() thing. I vote for raise an exception since it wasn't meant for multi-row results.
Comments (3)
-
reporter -
reporter - changed status to resolved
-
reporter - removed milestone
Removing milestone: 0.6.0 (automated comment)
- Log in to comment
in 3264433782034cf862e534ea6c9e07fd5531050c,
scalar()
will raise onMultipleResultsFound
, but will returnNone
forNoResultFound
. It now builds onone()
.