From: Mike Bayer Date: Wed, 8 Nov 2006 02:22:24 +0000 (+0000) Subject: create_args->connect_args X-Git-Tag: rel_0_3_1~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48a4d9a7ebab0b3e1e8328c75c55ac2392e33e75;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git create_args->connect_args --- diff --git a/doc/build/content/dbengine.txt b/doc/build/content/dbengine.txt index 21ce8d4068..6068937f37 100644 --- a/doc/build/content/dbengine.txt +++ b/doc/build/content/dbengine.txt @@ -72,7 +72,7 @@ If SQLAlchemy's database connector is aware of a particular query argument, it m `create_engine` also takes an argument `connect_args` which is an additional dictionary that will be passed to `connect()`. This can be used when arguments of a type other than string are required, and SQLAlchemy's database connector has no type conversion logic present for that parameter: {python} - db = create_engine('postgres://scott:tiger@localhost/test', create_args = {'argument1':17, 'argument2':'bar'}) + db = create_engine('postgres://scott:tiger@localhost/test', connect_args = {'argument1':17, 'argument2':'bar'}) The most customizable connection method of all is to pass a `creator` argument, which specifies a callable that returns a DBAPI connection: