[DB-SIG] Database API clarifications
Fri, 30 Jan 1998 15:35:19 -0800
> -----Original Message-----
> From: M.-A. Lemburg [SMTP:firstname.lastname@example.org]
> Sent: Friday, January 30, 1998 8:37 AM
> To: DB-SIG @ Python.org
> Subject: Re: [DB-SIG] Database API clarifications
> Ok, I see. Well then a method cursor.nextset() should go into the
> API. With the same semantics that Bill proposed:
> return 1 if there are more sets and organize for the
> next fetch* calls to return rows from the next set;
> return 0 otherwise.
> Interface packages not providing this feature should always
> return 0.
> Is that ok ? I'll add to my API 1.1. draft then.
Well, close, but preferably return None instead of 0, this is Python after
DB-SIG - SIG on Tabular Databases in Python
send messages to: email@example.com
administrivia to: firstname.lastname@example.org