Adrian, Adrian von Bidder wrote: ... > I was quite simply asking if it's possibly to fetch the value of an > autoincrement column (in a portable way, if possible) without causing a > flush, because at the time when I want to use the value, the row is not > complete yet. > What do you want to do with the autoincrement column? Often these are used for primary keys, which in turn get used as foreign keys.
As shown in my last post with SA you do not need to know the value as you can relate tables without knowing the primary key (autoincrement column). If this is not your use case maybe if you explain in more detail your use case someone will be able to come up with a solution. Werner --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. 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 -~----------~----~----~----~------~----~------~--~---