Re: DB API specification of .rowcount and/or execute

2005-11-14 Thread Gerhard Häring
[EMAIL PROTECTED] wrote: > Hi, > > Should execute() be allowed to execute multiple operations? [...] You best ask such questions on the DB-SIG. I say "no" and I think most people there will agree. Most DB-API modules will accept multiple statements, but that's an implementation artifact, and n

DB API specification of .rowcount and/or execute

2005-11-14 Thread andychambers2002
Hi, Should execute() be allowed to execute multiple operations? e.g. from dbi import * conn = connect(database="test") curs = conn.cursor() curs.execute(""" INSERT INTO test_table VALUES (1, 'one'); INSERT INTO test_table VALUES(2, 'two');