fix: don't join on parenttype
This commit is contained in:
parent
943a49aabc
commit
1c86d6431f
1 changed files with 1 additions and 1 deletions
|
|
@ -488,7 +488,7 @@ class DatabaseQuery:
|
|||
table_name = table_name[13:]
|
||||
if not table_name[0] == "`":
|
||||
table_name = f"`{table_name}`"
|
||||
if table_name not in self.query_tables:
|
||||
if table_name not in self.query_tables and table_name not in self.linked_table_aliases.values():
|
||||
self.append_table(table_name)
|
||||
|
||||
def append_table(self, table_name):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue