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

2016-11-21 Thread Paul Giralt
Than you Mike and Jonathan for your replies. I will experiment with this and let you know how it works out. -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please provide an MCVE: Minimal, Complete, and Verifiable

[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(),