Skip to content

Commit

Permalink
fix: update constant
Browse files Browse the repository at this point in the history
  • Loading branch information
Mause committed Dec 5, 2023
1 parent edeeae8 commit b3ee851
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion duckdb_engine/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def execute(
try:
if statement.lower() == "commit": # this is largely for ipython-sql
self.__c.commit()
elif statement.lower() in ("register", "register(?, ?)"):
elif statement.lower() in ("register", "register($1, $2)"):
assert parameters and len(parameters) == 2, parameters
view_name, df = parameters
self.__c.register(view_name, df)
Expand Down

0 comments on commit b3ee851

Please sign in to comment.