9 messages in com.googlegroups.sqlalchemy[sqlalchemy] Re: Proposal: Make pyodb...
FromSent OnAttachments
Rick Morrison16 Apr 2007 13:11 
Paul Johnston21 Apr 2007 05:16 
Ster...@gmail.com23 Apr 2007 10:10 
Paul Johnston23 Apr 2007 10:30 
Michael Bayer23 Apr 2007 11:20 
Paul Johnston26 Apr 2007 09:52 
Michael Bayer26 Apr 2007 10:53 
Rick Morrison26 Apr 2007 14:55 
Rick Morrison29 Apr 2007 13:06 
Subject:[sqlalchemy] Re: Proposal: Make pyodbc the preferred DB-API for MSSQL
From:Michael Bayer (mike@zzzcomputing.com)
Date:04/23/2007 11:20:21 AM
List:com.googlegroups.sqlalchemy

On Apr 23, 2007, at 1:30 PM, Paul Johnston wrote:

Hi,

Something like:

from sqlalchemy import * import pyodbc db = create_engine('mssql://./test', module=pyodbc)

While we're on the subject, it would be good to be able to specify the module as a string, e.g. module_name='pyodbc' as then you could specify the module from a configuration framework. It would be handy to specify it in the URL as well, e.g. for unit tests.

we have all that. all create_engines accept a "module" argument, and ms-sql specifically adds a "module_name" argument i believe.