MCPcopy Create free account
hub / github.com/anse1/sqlsmith / table_subquery

Method table_subquery

grammar.cc:81–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81table_subquery::table_subquery(prod *p, bool lateral)
82 : table_ref(p), is_lateral(lateral) {
83 query = make_shared<query_spec>(this, scope, lateral);
84 string alias = scope->stmt_uid("subq");
85 auto *aliased_rel = &query->select_list->derived_table;
86 refs.push_back(make_shared<aliased_relation>(alias, aliased_rel));
87}
88
89table_subquery::~table_subquery() { }
90

Callers

nothing calls this directly

Calls 1

stmt_uidMethod · 0.80

Tested by

no test coverage detected