Re: [sqlalchemy] Selecting distinct entries based on max timestamp

2016-11-18 Thread mike bayer
On 11/18/2016 02:08 PM, Paul Giralt wrote: I'm having trouble figuring out how to accomplish this task using SQLAlchemy. Basically I have a table that maps a user's skill levels as follows: class Skillmap(db.Model): __tablename__ = 'skillmap' id = db.Column(db.UUID(),

[sqlalchemy] Selecting distinct entries based on max timestamp

2016-11-18 Thread Paul Giralt
I'm having trouble figuring out how to accomplish this task using SQLAlchemy. Basically I have a table that maps a user's skill levels as follows: class Skillmap(db.Model): __tablename__ = 'skillmap' id = db.Column(db.UUID(), primary_key=True) user_id = db.Column(db.UUID(),