go-sqlbuilder icon indicating copy to clipboard operation
go-sqlbuilder copied to clipboard

Add support for recursive CTEs

Open arikkfir opened this issue 6 months ago • 1 comments

This change adds support for recursive CTEs by introducing the Recursive() method to CTETableBuilder. This method is automatically called by the existing CTETable(name, cols) function, but can also be called manually by calling it on a pre-existing CTETableBuilder instance.

It also adds an example for recursive CTEs.

Fixes #161.

arikkfir avatar Aug 20 '24 12:08 arikkfir