diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-03-28 13:12:38 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-03-28 13:12:38 -0400 |
| commit | 51fd3447373611af1b9f66a7f5f0c7c4abe94bbb (patch) | |
| tree | 2119202ddcc7282a59692a747703a7e234f5aa83 /lib/sqlalchemy/engine/__init__.py | |
| parent | fb766e69bd2fa2811de127a69ad33d507621bff7 (diff) | |
| download | sqlalchemy-51fd3447373611af1b9f66a7f5f0c7c4abe94bbb.tar.gz | |
- The sqlalchemy.orm.shard module now becomes an extension,
sqlalchemy.ext.horizontal_shard. The old import
works with a deprecation warning.
Diffstat (limited to 'lib/sqlalchemy/engine/__init__.py')
| -rw-r--r-- | lib/sqlalchemy/engine/__init__.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/sqlalchemy/engine/__init__.py b/lib/sqlalchemy/engine/__init__.py index 0dbb2404f..9b3dbedd8 100644 --- a/lib/sqlalchemy/engine/__init__.py +++ b/lib/sqlalchemy/engine/__init__.py @@ -107,10 +107,11 @@ def create_engine(*args, **kwargs): arguments sent as options to the dialect and resulting Engine. The URL is a string in the form - ``dialect://user:password@host/dbname[?key=value..]``, where - ``dialect`` is a name such as ``mysql``, ``oracle``, ``postgresql``, - etc. Alternatively, the URL can be an instance of - :class:`~sqlalchemy.engine.url.URL`. + ``dialect+driver://user:password@host/dbname[?key=value..]``, where + ``dialect`` is a database name such as ``mysql``, ``oracle``, + ``postgresql``, etc., and ``driver`` the name of a DBAPI, such as + ``psycopg2``, ``pyodbc``, ``cx_oracle``, etc. Alternatively, + the URL can be an instance of :class:`~sqlalchemy.engine.url.URL`. `**kwargs` takes a wide variety of options which are routed towards their appropriate components. Arguments may be |
