I've found that sometimes sqlalchemy inserts objects during session.commit() not in the order they have been added using session.add()
I've put my code example and the output to the github gist. https://gist.github.com/vpol/8da4a512308ae351eaf6 My question is similar to this one: http://stackoverflow.com/questions/10154343/is-sqlalchemy-saves-order-in-adding-objects-to-session Is it possible to make sqlalchemy guarantee the order of insert. -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To post to this group, send email to sqlalchemy@googlegroups.com. Visit this group at http://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/d/optout.