]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
update bake_queries documentation
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 15 Apr 2022 15:11:42 +0000 (11:11 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 15 Apr 2022 15:11:42 +0000 (11:11 -0400)
this parameter has had no effect since 1.4.23 in #6889,
but the documentation was not updated.

Change-Id: I36f4ea6144b9fd09243f96698e7a03cd217da1e7

lib/sqlalchemy/orm/relationships.py

index 7949e9e4d35f72be7d201ee700812b575f35f904..efa6c63f017bef9b8930794438c51bd4eebea60f 100644 (file)
@@ -367,20 +367,11 @@ class RelationshipProperty(StrategizedProperty):
                 :ref:`error_qzyx` - usage example
 
         :param bake_queries=True:
-          Enable :ref:`lambda caching <engine_lambda_caching>` for loader
-          strategies, if applicable, which adds a performance gain to the
-          construction of SQL constructs used by loader strategies, in addition
-          to the usual SQL statement caching used throughout SQLAlchemy. This
-          parameter currently applies only to the "lazy" and "selectin" loader
-          strategies. There is generally no reason to set this parameter to
-          False.
+          Legacy parameter, not used.
 
-          .. versionchanged:: 1.4  Relationship loaders no longer use the
-             previous "baked query" system of query caching.   The "lazy"
-             and "selectin" loaders make use of the "lambda cache" system
-             for the construction of SQL constructs,
-             as well as the usual SQL caching system that is throughout
-             SQLAlchemy as of the 1.4 series.
+          .. versionchanged:: 1.4.23 the "lambda caching" system is no longer
+             used by loader strategies and the ``bake_queries`` parameter
+             has no effect.
 
         :param cascade:
           A comma-separated list of cascade rules which determines how