We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
numfocus
Learn more about funding links in repositories.
Report abuse
1 parent f79e0d3 commit b0c2effCopy full SHA for b0c2eff
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
args = [] if params is None else [params]
1665
if isinstance(sql, str):
0 commit comments