Revision 3 as of 2003-02-18 11:14:06

Clear message

This page should summarize topics for the DB API 3.0. It is meant to provide

A related page is ExtendingTheDbApi, which lists features that aren't general enough to make it into the spec.

Discussions should be held at db-sig@python.org, with summaries (even preliminary ones) entered here. This is also the place where limits imposed by the underlying database/library implementation should be entered for further reference. It could also be used as a place for technical voting by the driver authors (with tags like 'personal preference', 'trivial to implement', 'difficult to implement', 'implementable only with loss of performance' etc.)

TableOfContents

Unified Parameter Style

Possibilities

Additional Driver Objects

Prepared statements in addition to Connection and Cursor. Related is the idea of statement caching:

Parameter Passing

cursor.execute ("SELECT where size = :size", {'size': localvar}) vs.cursor.execute ("SELECT where size = :size", size = localvar)

cursor.execute ("SELECT where size = ?", [localvar]) vs. cursor.execute ("SELECT where size = ?", localvar)

Should the argument passing be driver dependent, should there be additional methods, should only one be allowed?

Schema Information

Role of the DB API spec

Common Modules

Unable to edit the page? See the FrontPage for instructions.