[DB-SIG] Optional DB API Extensions

Andy Dustman andy@dustman.net
25 Oct 2001 10:59:36 -0400

On Tue, 2001-10-23 at 11:04, M.-A. Lemburg wrote:

>     Cursor Attribute .rownumber

Now implemented in MySQLdb (was cursor._pos).

>     Connection Attributes .Error, .ProgrammingError, etc.


>     Cursor Attributes .connection

Implemented (was cursor.__conn).
>     Cursor Method .scroll(value[,mode='relative'])

Currently I have cursor.seek() and cursor.tell(), which work as the file
object methods.

>    Cursor Attribute .messages
>    Connection Attribute .messages

Not really sold on these yet, particularly the last one. Presently you
can turn Warnings off, and look at cursor._info (or connection.info())
for the last message.

Andy Dustman         PGP: 0x930B8AB6
    @       .net     http://dustman.net/andy
You can have my keys when you pry them from my dead, cold neurons.