Skip to content
Snippets Groups Projects
Commit 265df707 authored by Henrique Varella Ehrenfried's avatar Henrique Varella Ehrenfried :speech_balloon:
Browse files

Add 'AS' statement on insertion

parent b25ad9af
No related branches found
No related tags found
No related merge requests found
......@@ -1032,7 +1032,7 @@ class DatabaseTable(Table):
for column in self.columns.items():
temporary_column = ttable.columns.get(column[0])
if temporary_column is not None:
query_src.append(temporary_column)
query_src.append(temporary_column.label(temporary_column.name))
query_dst.append(column[1])
query_src = select(query_src)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment