u.id is the easiest way...
On Jun 9, 2006, at 2:15 PM, Valentin Kuznetsov wrote:
> Hi,
> I'm wondering and cannot figure out how I can get last_inserted_id
> when I'm working with sessions. For example I defined table and mapper
> to my user class (e.g. User)
>
> user = Table('user', engine,
>
Hi,
I'm wondering and cannot figure out how I can get last_inserted_id
when I'm working with sessions. For example I defined table and mapper
to my user class (e.g. User)
user = Table('user', engine,
Column('id', Integer, primary_key=True, nullable = False),
Column('name', Str
2 matches
Mail list logo