1#include "duckdb/parser/tableref/basetableref.hpp"
2#include "duckdb/parser/transformer.hpp"
3
4using namespace duckdb;
5using namespace std;
6
7unique_ptr<TableRef> Transformer::TransformRangeVar(PGRangeVar *root) {
8 auto result = make_unique<BaseTableRef>();
9
10 result->alias = TransformAlias(root->alias);
11 if (root->relname)
12 result->table_name = root->relname;
13 if (root->schemaname)
14 result->schema_name = root->schemaname;
15 return move(result);
16}
17