Skip to content

Commit

Permalink
Fix: extract_from
Browse files Browse the repository at this point in the history
  • Loading branch information
TeoCalvo authored and TeoCalvo committed Jul 17, 2024
1 parent cb382c5 commit 4b50f8b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def extract_from(query:str):
.split("from")[-1]
.strip(" ")
.split(" ")[0]
.split("\n")[0]
.strip(" "))
return tablename

Expand Down

0 comments on commit 4b50f8b

Please sign in to comment.