db.session.query( UserModel.city ).distinct().all()
The query will return the unique values in city column.
0 Comments