May I suggest that we also add some convenience functions? For example:
def get_records_of_type(self, record_type):
"""retrieves all records of the specified record type"""
#check for a design doc for a record type
#if the view is not already there, create it
#use the view to return the records of that type
May I suggest that we also add some convenience functions? For example:
def get_records_ of_type( self, record_type):
"""retrieves all records of the specified record type"""
#check for a design doc for a record type
#if the view is not already there, create it
#use the view to return the records of that type