Re: [Sqlalchemy-users] Passing extra arguments to the DB-API connect(..) via the url

2006-07-24 Thread Michael Bayer
the query string itself is attached to the URL object; you should modify your patch so that everything happens right within create_connect_args(). I see that the Firebird module is picking them up in the dialect constructor too, but i think its using them for some module-level parameters t

Re: [Sqlalchemy-users] Passing extra arguments to the DB-API connect(..) via the url

2006-07-24 Thread Jonathan Ellis
On 7/24/06, Arnar Birgisson <[EMAIL PROTECTED]> wrote: Hi there,Is there a standard way to pass extra arguments to the underlyingDB-API's connect(..) function via the URL?No, but you can pass them via the Pool connect function. -- Jonathan Ellishttp://spyced.blogspot.com ---

[Sqlalchemy-users] Passing extra arguments to the DB-API connect(..) via the url

2006-07-24 Thread Arnar Birgisson
Hi there, Is there a standard way to pass extra arguments to the underlying DB-API's connect(..) function via the URL? For example, MySQLdb's connect takes a parameter called init_command. I need this to set the MySQL driver to return UTF-8 encoded strings correctly. The SA way of defining a cust