@classmethod
def select(cls, table, **filter_args):
    """Return rows of the table matching filter args.

        This is a proxy for sqlalchemy's ``session.query(table).filter(**kwargs)``

        :param type table: the model class
        :returns: all rows in the table matching ``**filter_args``
        """
    return cls.session.query(table).filter_by(**filter_args)
