@@ -309,7 +309,8 @@ def execute_non_query(
309
309
connection will be used. Optional.
310
310
transaction: A transaction identifier. If omitted, the call will
311
311
be executed in its own transaction. Optional.
312
- params: A Dictionary containing all INPUT parameters. Optional.
312
+ params: A list containing all INPUT parameters as InParam
313
+ objects. Optional.
313
314
314
315
Returns:
315
316
The number of rows modified by the stored procedure, or -1 if
@@ -339,7 +340,8 @@ def get_data(
339
340
database: The name of the database connection to execute
340
341
against. If omitted or "", the project's default database
341
342
connection will be used. Optional.
342
- params: A Dictionary containing all INPUT parameters. Optional.
343
+ params: A list containing all INPUT parameters as InParam
344
+ objects. Optional.
343
345
344
346
Returns:
345
347
A Dataset that is the resulting data of the stored procedure
@@ -367,16 +369,21 @@ def get_output_params(
367
369
368
370
Args:
369
371
stored_procedure: The name of the stored procedure to execute.
370
- output: A Dictionary containing all OUTPUT parameters.
372
+ output: A list containing all OUTPUT parameters as OutParam
373
+ objects.
371
374
database: The name of the database connection to execute
372
375
against. If omitted or "", the project's default database
373
376
connection will be used. Optional.
374
377
transaction: A transaction identifier. If omitted, the call will
375
378
be executed in its own transaction. Optional.
376
- params: A Dictionary containing all INPUT parameters. Optional.
379
+ params: A list containing all INPUT parameters as InParam
380
+ objects. Optional.
381
+ get_update_count: A flag indicating whether to return the number
382
+ of rows modified by the stored procedure, or -1 if not
383
+ applicable. Defaults to False. Optional.
377
384
378
385
Returns:
379
- Result's output_params .
386
+ A Python dictionary of OUTPUT paramaters .
380
387
"""
381
388
result = _execute_sp (
382
389
stored_procedure ,
@@ -408,7 +415,8 @@ def get_return_value(
408
415
connection will be used. Optional.
409
416
transaction: A transaction identifier. If omitted, the call will
410
417
be executed in its own transaction. Optional.
411
- params: A Dictionary containing all INPUT parameters. Optional.
418
+ params: A list containing all INPUT parameters as InParam
419
+ objects. Optional.
412
420
413
421
Returns:
414
422
The return value.
0 commit comments