Could you please send your SQLAlchemy tables you are working with to have a better idea of what's you want to achieve ?
2009/5/22 Adrian von Bidder <avbid...@fortytwo.ch>: > On Friday 22 May 2009 13.58:34 Alexandre Conrad wrote: >> Hello Adrian, >> >> 2009/5/22 Adrian von Bidder <avbid...@fortytwo.ch>: >> > On Friday 22 May 2009 08.43:09 Alexandre Conrad wrote: >> >> Don't you want that non-null column to be a foreign key ? >> > >> > Would that make a difference? >> >> That's what a foreign key is used for: >> http://en.wikipedia.org/wiki/Foreign_key > > Oh, thanks a lot. Not really helpful, though. > > 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. > > Oh, well... > > cheers > -- vbi > > > > > > -- > featured link: http://www.pool.ntp.org > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---