[DB-SIG] db module wrapper

Ian Bicking ianb at colorstudy.com
Fri Aug 20 07:51:37 CEST 2004

Andy Dustman wrote:
> Non-standard escapes and features aren't a problem; the problem is
> that people write code that use those non-standard features.
> Here's a fun fact: MySQLdb-1..x uses %s for the value placeholder.
> MySQLdb-2.x will use ?, but only because the implementation (and API)
> is changing; 4.1 and newer have a real parameter binding system which
> uses ?. Only problem is, it also supports the old API, and I suspect
> you have to use the old API if you are talking to an <4.1 server, even
> if you have a >=4.1 client, because the protocol is different too.

And all the more reason for an interface that hides those 
incompatibilities and annoyances.

Ian Bicking  /  ianb at colorstudy.com  / http://blog.ianbicking.org

More information about the DB-SIG mailing list