From 48a4d9a7ebab0b3e1e8328c75c55ac2392e33e75 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Wed, 8 Nov 2006 02:22:24 +0000 Subject: [PATCH] create_args->connect_args --- doc/build/content/dbengine.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.47.2