A recursive CTE is updated to attach the recursive part. Updated CTEs should still refer to the original CTE. This function returns this reference identifier.
(self)
| 2360 | ) |
| 2361 | |
| 2362 | def _get_reference_cte(self) -> CTE[_KeyColCC_co]: |
| 2363 | """ |
| 2364 | A recursive CTE is updated to attach the recursive part. |
| 2365 | Updated CTEs should still refer to the original CTE. |
| 2366 | This function returns this reference identifier. |
| 2367 | """ |
| 2368 | return self._restates if self._restates is not None else self |
| 2369 | |
| 2370 | if TYPE_CHECKING: |
| 2371 |
no outgoing calls
no test coverage detected