Skip to content

Commit

Permalink
Fix exception
Browse files Browse the repository at this point in the history
  • Loading branch information
ostafen committed May 21, 2024
1 parent cbea611 commit e6913a2
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions immudb-node-showcase/src/overview-showcase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,9 @@ async function overviewSchowcase() {
select * from testtable;
`})
console.log('sqlQueryInTxAt8')
console.log(sqlQueryInTxAt8)

for await (const row of sqlQueryInTxAt8) {
console.log(row)
}

// sqlExecUpsert9
const sqlExecUpsertInTx9 = txApi.exec({
Expand All @@ -179,7 +180,9 @@ async function overviewSchowcase() {
select * from testtable;
`})
console.log('sqlQueryInTxAt9')
console.log(sqlQueryInTxAt9)
for await (const row of sqlQueryInTxAt9) {
console.log(row)
}


throw 'I would like to cancel'
Expand Down

0 comments on commit e6913a2

Please sign in to comment.