Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
},
"license": "MIT",
"dependencies": {
"@abaplint/cli": "^2.114.4",
"@abaplint/cli": "^2.114.6",
"@abaplint/database-pg": "^2.11.78",
"@abaplint/database-sqlite": "^2.11.78",
"@abaplint/runtime": "^2.12.13",
"@abaplint/transpiler-cli": "^2.12.13",
"@abaplint/runtime": "^2.12.16",
"@abaplint/transpiler-cli": "^2.12.16",
"0x": "^6.0.0"
}
}
6 changes: 5 additions & 1 deletion src/adbc/cl_sql_result_set.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,12 @@ CLASS cl_sql_result_set IMPLEMENTATION.
WRITE '@KERNEL lv_total.set(this.mv_magic.length);'.
* WRITE '@KERNEL console.dir(this.mv_magic);'.
WRITE '@KERNEL const current = this.mv_magic[this.mv_index.get()];'.
WRITE '@KERNEL lv_value.set(Object.values(current)[0]);'.

WRITE '@KERNEL if (typeof Object.values(current)[0] === "boolean") {'.
WRITE '@KERNEL lv_value.set(Object.values(current)[0] ? "X" : "");'.
WRITE '@KERNEL } else {'.
WRITE '@KERNEL lv_value.set(Object.values(current)[0]);'.
WRITE '@KERNEL }'.

IF mv_ref IS NOT INITIAL.
mv_ref->* = lv_value.
Expand Down
Loading