mini\Database\PartialQuery::ensureWithStatement()
Method
private
Signature
private function ensureWithStatement(): mini\Parsing\SQL\AST\WithStatement
Returns
Documentation
Ensure AST is wrapped in a WithStatement (for adding CTEs)
If already a WithStatement, returns it. Otherwise wraps the current AST.