Skip to content

Commit

Permalink
Update spec
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedSabthar committed Oct 11, 2024
1 parent de398f3 commit 455d1bc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/spec/spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,8 @@ In addition to the above parameters, it has `CursorOutParameter` to retrieve the
stream<record{}, sql:Error?> resultStream = cursor.get();
```

> **_Note:_** In the case of a stored procedure query that returns a result set along with the mentioned parameters, the `get()` method of these parameters should only be invoked after consuming the result set. Otherwise, consuming the result set fails with a 'Error when iterating the SQL result. The result set is closed.' error.
## 3.3. Query concatenation

`sql:ParameterizedQuery` can be concatenated using util methods such as `sql:queryConcat()` and
Expand Down

0 comments on commit 455d1bc

Please sign in to comment.