1#include "duckdb/parser/statement/call_statement.hpp"
2#include "duckdb/parser/transformer.hpp"
3
4namespace duckdb {
5
6unique_ptr<CallStatement> Transformer::TransformCall(duckdb_libpgquery::PGCallStmt &stmt) {
7 auto result = make_uniq<CallStatement>();
8 result->function = TransformFuncCall(root&: *PGPointerCast<duckdb_libpgquery::PGFuncCall>(ptr: stmt.func));
9 return result;
10}
11
12} // namespace duckdb
13