incorrect docstring on Query.one()

Issue #873 resolved
Former user created an issue

According to the documentation for 0.4.1 class Query, method one() it states

Return the first result of this Query, raising an exception if more than one row exists.

It does not however say it should raise an exception if none exist.

This is either a documentation bug, or a programming bug depending on the desired functionality. Either way some clarifcation or correction is needed.

Comments (4)

  1. Log in to comment