]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- refer to 0.7 in docs
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 5 Dec 2010 18:29:34 +0000 (13:29 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 5 Dec 2010 18:29:34 +0000 (13:29 -0500)
doc/build/core/engines.rst
doc/build/core/tutorial.rst
doc/build/intro.rst
doc/build/orm/tutorial.rst

index ac9d392cd29e9fdddbf04cd0c64337b5cd9d5632..dbc7dcc451ac2aa730280ebc8b0ab6120517867c 100644 (file)
@@ -43,7 +43,7 @@ SQLAlchemy includes many :class:`~sqlalchemy.engine.base.Dialect` implementation
 backends; each is described as its own package in the :ref:`sqlalchemy.dialects_toplevel` package.  A 
 SQLAlchemy dialect always requires that an appropriate DBAPI driver is installed.
 
-The table below summarizes the state of DBAPI support in SQLAlchemy 0.6.  The values 
+The table below summarizes the state of DBAPI support in SQLAlchemy 0.7.  The values 
 translate as:
 
 * yes / Python platform - The SQLAlchemy dialect is mostly or fully operational on the target platform.   
index bf3920198138043c4e291c613f7736d87c38d6f4..b7d5ba27262102916e0d12a59a8aa780ff136d14 100644 (file)
@@ -53,13 +53,13 @@ Version Check
 =============
 
 
-A quick check to verify that we are on at least **version 0.6** of SQLAlchemy:
+A quick check to verify that we are on at least **version 0.7** of SQLAlchemy:
 
 .. sourcecode:: pycon+sql
 
     >>> import sqlalchemy
     >>> sqlalchemy.__version__ # doctest:+SKIP
-    0.6.0
+    0.7.0
 
 Connecting
 ==========
index bf57f8d73a2c06ce4879b5b249218f3abaa92da5..b679dca3e1a9c6cd6db1e14480aabc7b5db89131 100644 (file)
@@ -96,15 +96,15 @@ SQLAlchemy is designed to operate with a `DB-API <http://www.python.org/doc/peps
 Checking the Installed SQLAlchemy Version
 =========================================
 
-This documentation covers SQLAlchemy version 0.6.  If you're working on a system that already has SQLAlchemy installed, check the version from your Python prompt like this:
+This documentation covers SQLAlchemy version 0.7.  If you're working on a system that already has SQLAlchemy installed, check the version from your Python prompt like this:
 
 .. sourcecode:: python+sql
 
      >>> import sqlalchemy
      >>> sqlalchemy.__version__ # doctest: +SKIP
-     0.6.0
+     0.7.0
 
-0.5 to 0.6 Migration
+0.6 to 0.7 Migration
 =====================
 
-Notes on what's changed from 0.5 to 0.6 is available on the SQLAlchemy wiki at `06Migration <http://www.sqlalchemy.org/trac/wiki/06Migration>`_.
+Notes on what's changed from 0.6 to 0.7 is available on the SQLAlchemy wiki at `07Migration <http://www.sqlalchemy.org/trac/wiki/07Migration>`_.
index de1edd9202c79ba8bec80acf8e170daab382e0cd..29f6754c44e6203dca0a7b2debcd80feaa6a14b4 100644 (file)
@@ -45,11 +45,11 @@ following text represents the expected return value.
 Version Check
 =============
 
-A quick check to verify that we are on at least **version 0.6** of SQLAlchemy::
+A quick check to verify that we are on at least **version 0.7** of SQLAlchemy::
 
     >>> import sqlalchemy
     >>> sqlalchemy.__version__ # doctest:+SKIP
-    0.6.0
+    0.7.0
 
 Connecting
 ==========
@@ -737,7 +737,7 @@ Now let's consider a second table to be dealt with.  Users in our system also ca
 
 The above class introduces a **foreign key** constraint which references the ``users`` table.  This defines for SQLAlchemy the relationship between the two tables at the database level.  The relationship between the ``User`` and ``Address`` classes is defined separately using the :func:`~sqlalchemy.orm.relationship()` function, which defines an attribute ``user`` to be placed on the ``Address`` class, as well as an ``addresses`` collection to be placed on the ``User`` class.  Such a relationship is known as a **bidirectional** relationship.   Because of the placement of the foreign key, from ``Address`` to ``User`` it is **many to one**, and from ``User`` to ``Address`` it is **one to many**.  SQLAlchemy is automatically aware of many-to-one/one-to-many based on foreign keys.
 
-.. note:: The :func:`~sqlalchemy.orm.relationship()` function has historically been known as :func:`~sqlalchemy.orm.relation()`, which is the name that's available in all versions of SQLAlchemy prior to 0.6beta2, including the 0.5 and 0.4 series. :func:`~sqlalchemy.orm.relationship()` is only available starting with SQLAlchemy 0.6beta2.  :func:`~sqlalchemy.orm.relation()` will remain available in SQLAlchemy for the foreseeable future to enable cross-compatibility.
+.. note:: The :func:`~sqlalchemy.orm.relationship()` function has historically been known as :func:`~sqlalchemy.orm.relation()` in the 0.5 series of SQLAlchemy and earlier.
 
 The :func:`~sqlalchemy.orm.relationship()` function is extremely flexible, and could just have easily been defined on the ``User`` class: