Фикс процедуры
This commit is contained in:
@@ -19,6 +19,8 @@ def procedure(db_config, name, args: tuple) -> list:
|
||||
raise ValueError("Cursor not created")
|
||||
else:
|
||||
cursor.callproc(name, args)
|
||||
result = cursor.fetchone()[0]
|
||||
return result
|
||||
|
||||
|
||||
def transaction(cursor, sql):
|
||||
|
||||
Reference in New Issue
Block a user