Skip to content

Commit

Permalink
explicit parameter conversion for sql_variant
Browse files Browse the repository at this point in the history
  • Loading branch information
m32 committed Aug 30, 2024
1 parent 5791c7a commit a48b418
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlalchemy_pytds/dialect.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def __init__(self, server_side_cursors=False, **params):
self.server_side_cursors = server_side_cursors

def do_execute(self, cursor, statement, parameters, context=None):
if context and context.isinsert:
if context and context.isinsert or context.isupdate:
tbl = context.compiled.compile_state.dml_table
#print('*'*20, 'do_execute')
#print('stmt:', statement)
Expand Down

0 comments on commit a48b418

Please sign in to comment.