[DB-SIG] Optional DB API Extensions

brian zimmer bzimmer@ziclix.com
Thu, 25 Oct 2001 12:52:31 -0500


What happens in the case of:

cur.execute("insert into x values (?, ?)", [(a, b), (c, d)])

I presume the .lastrowid is the value of the insert with (c, d)? 

thanks,

brian

----- Original Message ----- 
From: "Andy Dustman" <andy@dustman.net>
To: "DB-SIG @ Python.org" <db-sig@python.org>
Sent: Thursday, October 25, 2001 10:04 AM
Subject: Re: [DB-SIG] Optional DB API Extensions


> On Tue, 2001-10-23 at 20:08, Federico Di Gregorio wrote:
> >      Cursor Attribute .lastrowid
> 
> Implemented in MySQLdb (was cursor._insert_id or cursor.insert_id()).
> 
> -- 
> Andy Dustman         PGP: 0x930B8AB6
>     @       .net     http://dustman.net/andy
> You can have my keys when you pry them from my dead, cold neurons.
> 
> 
> _______________________________________________
> DB-SIG maillist  -  DB-SIG@python.org
> http://mail.python.org/mailman/listinfo/db-sig