Describe what happens when find_one has nothing to return.
This commit is contained in:
parent
e10dc36219
commit
79acee2371
@ -244,7 +244,7 @@ class Table(object):
|
||||
|
||||
def find_one(self, **_filter):
|
||||
"""
|
||||
Works just like :py:meth:`find() <dataset.Table.find>` but returns only one result.
|
||||
Works just like :py:meth:`find() <dataset.Table.find>` but returns one result, or None.
|
||||
::
|
||||
|
||||
row = table.find_one(country='United States')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user