code: def to_odict(self, exclude=None):
          
          if exclude is None:
              exclude = tuple()
          colnames = [c.name for c in self.__table__.columns
                      if c.name not in exclude]
          return OrderedDict(((col, getattr(self, col)) for col in colnames))
docs: Returns an OrderedDict representation of the SQLalchemy table row.