allow calling as_dict on entire RecordCollection

This commit is contained in:
Brobin
2016-02-23 13:22:07 -06:00
parent 6e0e61c3b7
commit d9a5396c1d
+4
View File
@@ -189,6 +189,10 @@ class RecordCollection(object):
return rows
def as_dict(self, ordered=False):
return self.all(as_dict=not(ordered), as_ordereddict=ordered)
class Database(object):
"""A Database connection."""