diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-02-23 12:24:31 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-02-24 18:43:50 -0500 |
commit | 0fe8f4a3e79c8fc805e7a84849920c7258177f41 (patch) | |
tree | 778ad1fc6298e377f04192b0585566d4d4f2dc16 /lib/sqlalchemy/dialects/mysql/mysqldb.py | |
parent | 0353a9db76db6a46fa63d99a1d05c5cac45ea460 (diff) | |
download | sqlalchemy-0fe8f4a3e79c8fc805e7a84849920c7258177f41.tar.gz |
Add more nesting features to add_cte()
Added new parameter :paramref:`.HasCTE.add_cte.nest_here` to
:meth:`.HasCTE.add_cte` which will "nest" a given :class:`.CTE` at the
level of the parent statement. This parameter is equivalent to using the
:paramref:`.HasCTE.cte.nesting` parameter, but may be more intuitive in
some scenarios as it allows the nesting attribute to be set simultaneously
along with the explicit level of the CTE.
The :meth:`.HasCTE.add_cte` method also accepts multiple CTE objects.
Fixes: #7759
Change-Id: I263c015f5a3f452cb54819aee12bc9bf2953a7bb
Diffstat (limited to 'lib/sqlalchemy/dialects/mysql/mysqldb.py')
0 files changed, 0 insertions, 0 deletions