| 309 | } |
| 310 | |
| 311 | unique_ptr<Expression> FunctionBinder::BindScalarFunction(const string &schema, const string &name, |
| 312 | vector<unique_ptr<Expression>> children, ErrorData &error, |
| 313 | bool is_operator, optional_ptr<Binder> binder) { |
| 314 | // bind the function |
| 315 | auto &function = Catalog::GetSystemCatalog(context).GetEntry<ScalarFunctionCatalogEntry>(context, schema, name); |
| 316 | D_ASSERT(function.type == CatalogType::SCALAR_FUNCTION_ENTRY); |
| 317 | return BindScalarFunction(function, std::move(children), error, is_operator, binder); |
| 318 | } |
| 319 | |
| 320 | unique_ptr<Expression> FunctionBinder::BindScalarFunction(ScalarFunctionCatalogEntry &func, |
| 321 | vector<unique_ptr<Expression>> children, ErrorData &error, |
nothing calls this directly
no test coverage detected