If I want get list of id's of table I can get it with z = db.session.query(MyTable.id).all()
but it return list like [(7), (13)], but I want like [7, 13]. Now I do it with [x[0] for x in z] Maybe is exists better solution? Thanks -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To view this discussion on the web visit https://groups.google.com/d/msg/sqlalchemy/-/At4WmW6_26AJ. To post to this group, send email to sqlalchemy@googlegroups.com. To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.