Skip to content

Commit

Permalink
Merge pull request #7779 from mehov/4.x
Browse files Browse the repository at this point in the history
Address `WITH RECURSIVE …`, close #7775
  • Loading branch information
markstory authored Dec 7, 2023
2 parents 04cf8d5 + 7e71303 commit 2c6ba68
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions en/orm/query-builder.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1904,6 +1904,8 @@ To build that query with the ORM query builder we would use::
]
]);

If you need to build a recursive query (``WITH RECURSIVE …``), chain ``->recursive()`` onto ``return $cte``.

.. versionadded:: 4.1.0
Common table expression support was added.

Expand Down

0 comments on commit 2c6ba68

Please sign in to comment.