pycbc: A Python interface
to the Christmas Bird Count database
6.28. CBCData.genEfforts()
pycbc.py
# - - - C B C D a t a . g e n E f f o r t s
def genEfforts(self):
'''Generate all the effort records in primary key order.
'''
q = self.s.query(self.Effort)
for eff in q:
yield eff