go-sqlbuilder
go-sqlbuilder copied to clipboard
Add support for recursive CTEs
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.