convert sqlalchemy util collections to list of string

Solutions on MaxInterview for convert sqlalchemy util collections to list of string by the best coders in the world

showing results for - "convert sqlalchemy util collections to list of string"
Brinley
18 Jan 2018
1query = session.query(Region.name).all()
2
3query = map(lambda t: t[0], query)
4query = list(query)
5
6print(query)
similar questions
python list from sql