utils¶
- mcp_ohmy_sql.aws.aws_redshift.utils.execute_many_sql(conn_or_engine: redshift_connector.Connection | sa.Engine, sql: str | list[str])[source]¶
Utility function to execute multiple SQL statements.
- Parameters:
conn_or_engine – Redshift connection or SQLAlchemy engine.
sql – A single SQL statement or a list of SQL statements to execute.