Re: [DB-SIG] Proposed improvements to DBAPI 2.0Cursor.execute() method.

2006-11-13 Thread Ricardo Bugalho
On Mon, 2006-11-13 at 19:42 +0200, jekabs.andrusaitisa wrote: > On other hand the difference between how different DBAPI modules > handle bind > variables is indeed quite annoying, it prevents abstraction of the > query > code from underlaying database, but only solution which comes to my > mind I

Re: [DB-SIG] Proposed improvements to DBAPI 2.0Cursor.execute() method.

2006-11-13 Thread Jekabs Andrushaitis
Hello, I tend to agree that allowing to escape non-literals is a really bad idea. This is certainly not how most underlaying database APIs work - they provide their own methods for statement preparation and variable binding, in fact they use different syntax for variable binding into SQL (hence di