Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/sqlalchemy/sqlalchemy
/ exec_sql
Function
exec_sql
test/engine/test_logging.py:25–27 ·
view source on GitHub ↗
(engine, sql, *args, **kwargs)
Source
from the content-addressed store, hash-verified
23
24
25
def
exec_sql(engine, sql, *args, **kwargs):
26
with
engine.begin()
as
conn:
27
return
conn.exec_driver_sql(sql, *args, **kwargs)
28
29
30
class
LogParamsTest(fixtures.TestBase):
Callers
12
setup_test
Method · 0.70
teardown_test
Method · 0.70
test_log_large_list_of_dict
Method · 0.70
test_log_no_parameters
Method · 0.70
test_log_large_list_of_tuple
Method · 0.70
test_log_large_parameter_single
Method · 0.70
test_log_large_multi_parameter
Method · 0.70
test_log_large_parameter_multiple
Method · 0.70
test_exception_format_hide_parameters_dbapi_round_trip
Method · 0.70
test_result_large_param
Method · 0.70
test_error_large_dict
Method · 0.70
test_error_large_list
Method · 0.70
Calls
2
begin
Method · 0.45
exec_driver_sql
Method · 0.45
Tested by
no test coverage detected