Baked query extension.
Provides a creational pattern for the .query.Query
object which
allows the fully constructed object, Core select statement, and string
compiled result to be fully cached.
Class | BakedQuery |
A builder object for .query.Query objects. |
Class | Bakery |
Callable which returns a .BakedQuery . |
Class | Result |
Invokes a .BakedQuery against a .Session . |
Variable | log |
Undocumented |
Function | bake_lazy_loaders |
Enable the use of baked queries for all lazyloaders systemwide. |
Function | baked_lazyload |
Undocumented |
Function | baked_lazyload_all |
Undocumented |
Function | unbake_lazy_loaders |
Disable the use of baked queries for all lazyloaders systemwide. |
Enable the use of baked queries for all lazyloaders systemwide.
The "baked" implementation of lazy loading is now the sole implementation for the base lazy loader; this method has no effect except for a warning.
Undocumented
Undocumented
Disable the use of baked queries for all lazyloaders systemwide.
This method now raises NotImplementedError() as the "baked" implementation is the only lazy load implementation. The :paramref:`_orm.relationship.bake_queries` flag may be used to disable the caching of queries on a per-relationship basis.