O~~ I see

Thank u~ Mike [?]

2009/10/29 Mike Conley <[email protected]>

> Looks like you are trying to mix ORM and SQL expression constructs.
> Also, Insert() objects should be constructed via the insert() function.
>
> Try this
>
> conn = session.connection()   # get handle to the session's connection
> t = conn.begin()
> res = conn.execute(insert(t_table).values(id=None,pv=6))
> print res.last_inserted_ids()
> t.rollback()
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

<<inline: 360.gif>>

Reply via email to