diff --git a/duckdb_engine/__init__.py b/duckdb_engine/__init__.py index 1f3b45e0b..e12a833ec 100644 --- a/duckdb_engine/__init__.py +++ b/duckdb_engine/__init__.py @@ -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)