Merge pull request #255 from paulfurley/return-iterator-if-table-doesnt-exist
find(): if table doesn't exist, return an iterator
This commit is contained in:
commit
f04629825f
@ -446,7 +446,7 @@ class Table(object):
|
||||
instead.
|
||||
"""
|
||||
if not self.exists:
|
||||
return []
|
||||
return iter([])
|
||||
|
||||
_limit = kwargs.pop('_limit', None)
|
||||
_offset = kwargs.pop('_offset', 0)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user