Object - sql : ProcedureCallResult

Object that is used to return stored procedure call results.

Methods

Updates executionResult or queryResult with the next result in the result.

Closes the ProcedureCallResult object and releases resources.

Fields

  • executionResult ExecutionResult? (default ())
  • Summary of the execution of DML/DLL query

  • queryResult stream<record {| anydata...; |} ,Error> (default ())
  • Results from SQL query

getNextQueryResult

()

returns boolean | Error

Updates executionResult or queryResult with the next result in the result. This will also close the current results by default.

  • Return Type

    (boolean | Error)
  • True if the next result is queryResult

close

()

returns Error?

Closes the ProcedureCallResult object and releases resources.

  • Return Type

    (Error?)
  • Error if any error occurred while closing.