[DB-SIG] Next Version [was Re: Preparing statement API]
Fri, 28 Jan 2000 14:41:37 +0100
Frank McGeough wrote:
> Is there any notion in the dbi layer of the app discovering the capabilities
> of the driver as in the ODBC spec where I can do a SQLGetInfo call to find
> out some information about the driver? I just think it's awkward to throw
> exceptions for information that might be readily available and easily
> handled by the app.
No. The intention is that applications should check for database
object attributes and then use this abstract information to
persue in different directions.
FYI, mxODBC provides access to SQLGetInfo via connection.getinfo().
Python Pages: http://www.lemburg.com/python/