sqlalchemy get ids
snippet in sql

sqlalchemy get ids

user1972

session.query(Thing.id).all()