[DB-SIG] Preparing statement API

Roy Smith roy@endeavor.med.nyu.edu
Thu, 27 Jan 2000 11:37:48 -0500

Seems like a good plan to me.  I can't see any downside.  Old code still
works as written, and databases that don't support the new functionality
can still expose the same API with only an efficiency loss.

--On Thu, Jan 27, 2000 5:28 PM +0100 "M.-A. Lemburg" <mal@lemburg.com>

> Therefore, I propose to add the new features I mentioned in a
> previous mail (cursor.command and cursor.prepare()) to the next
> release of the DB API spec.
> Interface modules not having access to the prepare step of the
> DB can then implement cursor.perpare(cmd) by simply setting 
> cursor.command to cmd and leaving the actual parsing and
> prepare step to the execute method as is currently done.

Roy Smith <roy@popmail.med.nyu.edu>
New York University School of Medicine
550 First Avenue, New York, NY  10016