Skip to content

Commit e6913a2

Browse files
committed
Fix exception
1 parent cbea611 commit e6913a2

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

immudb-node-showcase/src/overview-showcase.ts

+6-3
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,9 @@ async function overviewSchowcase() {
160160
select * from testtable;
161161
`})
162162
console.log('sqlQueryInTxAt8')
163-
console.log(sqlQueryInTxAt8)
164-
163+
for await (const row of sqlQueryInTxAt8) {
164+
console.log(row)
165+
}
165166

166167
// sqlExecUpsert9
167168
const sqlExecUpsertInTx9 = txApi.exec({
@@ -179,7 +180,9 @@ async function overviewSchowcase() {
179180
select * from testtable;
180181
`})
181182
console.log('sqlQueryInTxAt9')
182-
console.log(sqlQueryInTxAt9)
183+
for await (const row of sqlQueryInTxAt9) {
184+
console.log(row)
185+
}
183186

184187

185188
throw 'I would like to cancel'

0 commit comments

Comments
 (0)