| 40 | } |
| 41 | |
| 42 | string ScalarMacroFunction::ToSQL() const { |
| 43 | // In case of nested macro's we need to fix it a bit |
| 44 | auto expression_copy = expression->Copy(); |
| 45 | RemoveQualificationRecursive(expression_copy); |
| 46 | return MacroFunction::ToSQL() + StringUtil::Format("(%s)", expression_copy->ToString()); |
| 47 | } |
| 48 | |
| 49 | } // namespace duckdb |
nothing calls this directly
no test coverage detected