diff --git a/app/working_database.py b/app/working_database.py index 76f19b5..737da75 100644 --- a/app/working_database.py +++ b/app/working_database.py @@ -62,6 +62,13 @@ class SimpleDB: try: with self.pool.acquire() as connection: with connection.cursor() as cursor: + result_var = cursor.var(CLOB) + + # Только один параметр - выходной! + cursor.callproc('P_RK_SEND_JSON_LIST_FACEACC', [result_var]) + + json_result = result_var.getvalue() + print("JSON результат:", json_result) # Узнать сигнатуру процедуры cursor.execute(""" SELECT position, argument_name, data_type, in_out