aito.utils.sql_connection.SQLConnection.execute_query

SQLConnection.execute_query(query_string: str) → pyodbc.Cursor

execute a query

Parameters

query_string (str) – input query

Raises

SQLConnectionError – An error occurred during the execution of the query

Returns

cursor

Return type

pyodbc.Cursor