summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/postgresql/asyncpg.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2022-06-11 11:33:46 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2022-06-11 20:08:13 -0400
commitb3a1162553879d1369154e920f3f4129020bb88e (patch)
tree4de3c6553fbf2aa58886ebab6374b72be078edbf /lib/sqlalchemy/dialects/postgresql/asyncpg.py
parentb163099ada4009b2bdc9538c04120aee1f13dcc8 (diff)
downloadsqlalchemy-b3a1162553879d1369154e920f3f4129020bb88e.tar.gz
add auto_recurse option to selectinload, immediateload
Added very experimental feature to the :func:`_orm.selectinload` and :func:`_orm.immediateload` loader options called :paramref:`_orm.selectinload.auto_recurse` / :paramref:`_orm.immediateload.auto_recurse` , which when set to True will cause a self-referential relationship load to continue loading with arbitrary depth until no further objects are found. This may be useful for self-referential structures that must be loaded fully eagerly, such as when using asyncio. Fixes: #8126 Change-Id: I5bbd00bd0ca43f4649b44680fea1e84680f0a5db
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/asyncpg.py')
0 files changed, 0 insertions, 0 deletions