We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af77c26 commit 88f3105Copy full SHA for 88f3105
pandas/io/sql.py
@@ -76,6 +76,7 @@
76
77
from sqlalchemy import Table
78
from sqlalchemy.sql.expression import (
79
+ Delete,
80
Select,
81
TextClause,
82
)
@@ -1658,7 +1659,7 @@ def run_transaction(self):
1658
1659
else:
1660
yield self.con
1661
- def execute(self, sql: str | Select | TextClause, params=None):
1662
+ def execute(self, sql: str | Select | TextClause | Delete, params=None):
1663
"""Simple passthrough to SQLAlchemy connectable"""
1664
from sqlalchemy.exc import SQLAlchemyError
1665
0 commit comments