Skip to content

Commit 00177e7

Browse files
committed
Fix #102
1 parent 78dd46c commit 00177e7

File tree

5 files changed

+16
-3
lines changed

5 files changed

+16
-3
lines changed

CHANGELOG.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
[
2+
{
3+
"date": "2023-02-14",
4+
"version": "3.202302.4",
5+
"Changed": [
6+
"Fix [Issue 102](https://github.com/SAP-samples/hana-developer-cli-tool-example/issues/102) cds compile to sqlite no longer supports quoted"
7+
]
8+
},
29
{
310
"date": "2023-02-10",
411
"version": "3.202302.3",

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/).
66

7+
## [3.202302.4] - 2023-02-14
8+
9+
**Changed**
10+
11+
- Fix [Issue 102](https://github.com/SAP-samples/hana-developer-cli-tool-example/issues/102) cds compile to sqlite no longer supports quoted
12+
713
## [3.202302.3] - 2023-02-10
814

915
**Changed**

bin/inspectTable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export async function tableInspect(prompts) {
131131
let cdsSource = await dbInspect.formatCDS(db, object, fields, constraints, "hdbtable", schema, null)
132132
cdsSource = `service HanaCli { ${cdsSource} } `
133133
// @ts-ignore
134-
console.log(highlight(cds.compile.to.sql(cds.parse(cdsSource), { as: 'str', names: 'quoted', dialect: 'sqlite' })))
134+
console.log(highlight(cds.compile.to.sql(cds.parse(cdsSource), { as: 'str', dialect: 'sqlite' })))
135135
break
136136
}
137137
case 'postgres': {

bin/inspectView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export async function viewInspect(prompts) {
123123
let cdsSource = await dbInspect.formatCDS(db, object, fields, null, "hdbview", schema)
124124
cdsSource = `service HanaCli { ${cdsSource} } `
125125
// @ts-ignore
126-
console.log(highlight(cds.compile.to.sql(cds.parse(cdsSource), { as: 'str', names: 'quoted', dialect: 'sqlite' })))
126+
console.log(highlight(cds.compile.to.sql(cds.parse(cdsSource), { as: 'str', dialect: 'sqlite' })))
127127
break
128128
}
129129
case 'postgres': {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hana-cli",
3-
"version": "3.202302.3",
3+
"version": "3.202302.4",
44
"description": "HANA Developer Command Line Interface",
55
"main": "index.js",
66
"bin": {

0 commit comments

Comments
 (0)