(self, db)
Return all short codes list
Return all short codes list
Return all short codes list
def short_codes_list(self, db):
        """Return all short codes list"""
        result_set = db.query(Link)
        for r in result_set.values(Link.short_code):
            yield r[0]
def short_codes_list ( self , db ) : result_set = db . query ( Link ) for r in result_set . values ( Link . short_code ) : yield r [ 0 ]