File tree Expand file tree Collapse file tree 15 files changed +228
-6
lines changed
Expand file tree Collapse file tree 15 files changed +228
-6
lines changed Original file line number Diff line number Diff line change 77 " New Node.js minimum version of 18. [16 is end of life](https://nodejs.org/en/blog/announcements/nodejs16-eol)" ,
88 " Load HANA Connection via CDS Env API and profile Hybrid instead of direct binding with cds-dk" ,
99 " cds bind based connections are MUCH faster after the first call" ,
10- " PostgresSQL and SQLite support on key commands thanks to CDS abstraction"
10+ " PostgresSQL and SQLite support on key commands thanks to CDS abstraction" ,
11+ " Commands: tables and querySimple support profile based access and db abstraction"
1112 ]
1213 },
1314 {
Original file line number Diff line number Diff line change @@ -4,6 +4,17 @@ All notable changes to this project will be documented in this file.
44
55The format is based on [ Keep a Changelog] ( http://keepachangelog.com/ ) .
66
7+ ## [ 3.202309.1] - 2023-09-06
8+
9+ ** Changed**
10+
11+ - [ CAP version 7.2.0] ( https://cap.cloud.sap/docs/releases/aug23 )
12+ - New Node.js minimum version of 18. [ 16 is end of life] ( https://nodejs.org/en/blog/announcements/nodejs16-eol )
13+ - Load HANA Connection via CDS Env API and profile Hybrid instead of direct binding with cds-dk
14+ - cds bind based connections are MUCH faster after the first call
15+ - PostgresSQL and SQLite support on key commands thanks to CDS abstraction
16+ - Commands: tables and querySimple support profile based access and db abstraction
17+
718## [ 3.202308.1] - 2023-08-25
819
920** Changed**
Original file line number Diff line number Diff line change 1- // @ts -check
21import * as base from '../utils/base.js'
32import * as dbInspect from '../utils/dbInspect.js'
43//import * as conn from '../utils/connections.js'
Original file line number Diff line number Diff line change 1- export function init ( ) : Promise < ( typeof import ( "./containers.js" ) | typeof import ( "./dataTypes.js" ) | typeof import ( "./featureUsage.js" ) | typeof import ( "./functions.js" ) | typeof import ( "./hanaCloudHDIInstances.js" ) | typeof import ( "./indexes.js" ) | typeof import ( "./inspectTable.js" ) | typeof import ( "./querySimple.js" ) | typeof import ( "./hanaCloudSBSSInstances.js" ) | typeof import ( "./schemas.js" ) | typeof import ( "./hanaCloudSchemaInstances.js" ) | typeof import ( "./hanaCloudSecureStoreInstances.js" ) | typeof import ( "./tables.js" ) | typeof import ( "./hanaCloudUPSInstances.js" ) | typeof import ( "./version.js" ) | typeof import ( "./activateHDI.js" ) | typeof import ( "./adminHDI.js" ) | typeof import ( "./adminHDIGroup.js" ) | typeof import ( "./callProcedure.js" ) | typeof import ( "./certificates.js" ) | typeof import ( "./cds.js" ) | typeof import ( "./openChangeLog.js" ) | typeof import ( "./changeLog.js" ) | typeof import ( "./changeLogUI.js" ) | typeof import ( "./connect.js" ) | typeof import ( "./containersUI.js" ) | typeof import ( "./copy2DefaultEnv.js" ) | typeof import ( "./copy2Env.js" ) | typeof import ( "./copy2Secrets.js" ) | typeof import ( "./createContainer.js" ) | typeof import ( "./createGroup.js" ) | typeof import ( "./createContainerUsers.js" ) | typeof import ( "./createJWT.js" ) | typeof import ( "./createModule.js" ) | typeof import ( "./createXSAAdmin.js" ) | typeof import ( "./dataTypesUI.js" ) | typeof import ( "./dataVolumes.js" ) | typeof import ( "./disks.js" ) | typeof import ( "./dropContainer.js" ) | typeof import ( "./dropGroup.js" ) | typeof import ( "./features.js" ) | typeof import ( "./featuresUI.js" ) | typeof import ( "./featureUsageUI.js" ) | typeof import ( "./functionsUI.js" ) | typeof import ( "./hanaCloudHDIInstancesUI.js" ) | typeof import ( "./hanaCloudInstances.js" ) | typeof import ( "./hanaCloudStart.js" ) | typeof import ( "./hanaCloudStop.js" ) | typeof import ( "./hdbsql.js" ) | typeof import ( "./hostInformation.js" ) | typeof import ( "./indexesUI.js" ) | typeof import ( "./iniContents.js" ) | typeof import ( "./iniFiles.js" ) | typeof import ( "./inspectFunction.js" ) | typeof import ( "./inspectIndex.js" ) | typeof import ( "./inspectJWT.js" ) | typeof import ( "./inspectLibMember.js" ) | typeof import ( "./inspectLibrary.js" ) | typeof import ( "./inspectProcedure.js" ) | typeof import ( "./inspectTableUI.js" ) | typeof import ( "./inspectTrigger.js" ) | typeof import ( "./inspectUser.js" ) | typeof import ( "./inspectView.js" ) | typeof import ( "./libraries.js" ) | typeof import ( "./massConvert.js" ) | typeof import ( "./massConvertUI.js" ) | typeof import ( "./massRename.js" ) | typeof import ( "./massUsers.js" ) | typeof import ( "./matrix.js" ) | typeof import ( "./objects.js" ) | typeof import ( "./openBAS.js" ) | typeof import ( "./openDBExplorer.js" ) | typeof import ( "./ports.js" ) | typeof import ( "./privilegeError.js" ) | typeof import ( "./procedures.js" ) | typeof import ( "./querySimpleUI.js" ) | typeof import ( "./readMe.js" ) | typeof import ( "./readMeUI.js" ) | typeof import ( "./openReadMe.js" ) | typeof import ( "./reclaim.js" ) | typeof import ( "./rick.js" ) | typeof import ( "./roles.js" ) | typeof import ( "./hanaCloudSBSSInstancesUI.js" ) | typeof import ( "./schemasUI.js" ) | typeof import ( "./hanaCloudSchemaInstancesUI.js" ) | typeof import ( "./hanaCloudSecureStoreInstancesUI.js" ) | typeof import ( "./connectViaServiceKey.js" ) | typeof import ( "./sequences.js" ) | typeof import ( "./status.js" ) | typeof import ( "./synonyms.js" ) | typeof import ( "./systemInfo.js" ) | typeof import ( "./systemInfoUI.js" ) | typeof import ( "./tablesUI.js" ) | typeof import ( "./traces.js" ) | typeof import ( "./traceContents.js" ) | typeof import ( "./triggers.js" ) | typeof import ( "./UI.js" ) | typeof import ( "./hanaCloudUPSInstancesUI.js" ) | typeof import ( "./users.js" ) | typeof import ( "./views.js" ) | typeof import ( "./btp.js" ) | typeof import ( "./btpSubs.js" ) | typeof import ( "./btpInfo.js" ) | typeof import ( "./issue.js" ) ) [ ] > ;
1+ export function init ( ) : Promise < ( typeof import ( "./containers.js" ) | typeof import ( "./dataTypes.js" ) | typeof import ( "./featureUsage.js" ) | typeof import ( "./functions.js" ) | typeof import ( "./hanaCloudHDIInstances.js" ) | typeof import ( "./indexes.js" ) | typeof import ( "./inspectTable.js" ) | typeof import ( "./querySimple.js" ) | typeof import ( "./hanaCloudSBSSInstances.js" ) | typeof import ( "./schemas.js" ) | typeof import ( "./hanaCloudSchemaInstances.js" ) | typeof import ( "./hanaCloudSecureStoreInstances.js" ) | typeof import ( "./tables.js" ) | typeof import ( "./tablesPG.js" ) | typeof import ( "./tablesSQLite.js" ) | typeof import ( "./hanaCloudUPSInstances.js" ) | typeof import ( "./version.js" ) | typeof import ( "./activateHDI.js" ) | typeof import ( "./adminHDI.js" ) | typeof import ( "./adminHDIGroup.js" ) | typeof import ( "./callProcedure.js" ) | typeof import ( "./certificates.js" ) | typeof import ( "./cds.js" ) | typeof import ( "./openChangeLog.js" ) | typeof import ( "./changeLog.js" ) | typeof import ( "./changeLogUI.js" ) | typeof import ( "./connect.js" ) | typeof import ( "./containersUI.js" ) | typeof import ( "./copy2DefaultEnv.js" ) | typeof import ( "./copy2Env.js" ) | typeof import ( "./copy2Secrets.js" ) | typeof import ( "./createContainer.js" ) | typeof import ( "./createGroup.js" ) | typeof import ( "./createContainerUsers.js" ) | typeof import ( "./createJWT.js" ) | typeof import ( "./createModule.js" ) | typeof import ( "./createXSAAdmin.js" ) | typeof import ( "./dataTypesUI.js" ) | typeof import ( "./dataVolumes.js" ) | typeof import ( "./disks.js" ) | typeof import ( "./dropContainer.js" ) | typeof import ( "./dropGroup.js" ) | typeof import ( "./features.js" ) | typeof import ( "./featuresUI.js" ) | typeof import ( "./featureUsageUI.js" ) | typeof import ( "./functionsUI.js" ) | typeof import ( "./hanaCloudHDIInstancesUI.js" ) | typeof import ( "./hanaCloudInstances.js" ) | typeof import ( "./hanaCloudStart.js" ) | typeof import ( "./hanaCloudStop.js" ) | typeof import ( "./hdbsql.js" ) | typeof import ( "./hostInformation.js" ) | typeof import ( "./indexesUI.js" ) | typeof import ( "./iniContents.js" ) | typeof import ( "./iniFiles.js" ) | typeof import ( "./inspectFunction.js" ) | typeof import ( "./inspectIndex.js" ) | typeof import ( "./inspectJWT.js" ) | typeof import ( "./inspectLibMember.js" ) | typeof import ( "./inspectLibrary.js" ) | typeof import ( "./inspectProcedure.js" ) | typeof import ( "./inspectTableUI.js" ) | typeof import ( "./inspectTrigger.js" ) | typeof import ( "./inspectUser.js" ) | typeof import ( "./inspectView.js" ) | typeof import ( "./libraries.js" ) | typeof import ( "./massConvert.js" ) | typeof import ( "./massConvertUI.js" ) | typeof import ( "./massRename.js" ) | typeof import ( "./massUsers.js" ) | typeof import ( "./matrix.js" ) | typeof import ( "./objects.js" ) | typeof import ( "./openBAS.js" ) | typeof import ( "./openDBExplorer.js" ) | typeof import ( "./ports.js" ) | typeof import ( "./privilegeError.js" ) | typeof import ( "./procedures.js" ) | typeof import ( "./querySimpleUI.js" ) | typeof import ( "./readMe.js" ) | typeof import ( "./readMeUI.js" ) | typeof import ( "./openReadMe.js" ) | typeof import ( "./reclaim.js" ) | typeof import ( "./rick.js" ) | typeof import ( "./roles.js" ) | typeof import ( "./hanaCloudSBSSInstancesUI.js" ) | typeof import ( "./schemasUI.js" ) | typeof import ( "./hanaCloudSchemaInstancesUI.js" ) | typeof import ( "./hanaCloudSecureStoreInstancesUI.js" ) | typeof import ( "./connectViaServiceKey.js" ) | typeof import ( "./sequences.js" ) | typeof import ( "./status.js" ) | typeof import ( "./synonyms.js" ) | typeof import ( "./systemInfo.js" ) | typeof import ( "./systemInfoUI.js" ) | typeof import ( "./tablesUI.js" ) | typeof import ( "./traces.js" ) | typeof import ( "./traceContents.js" ) | typeof import ( "./triggers.js" ) | typeof import ( "./UI.js" ) | typeof import ( "./hanaCloudUPSInstancesUI.js" ) | typeof import ( "./users.js" ) | typeof import ( "./views.js" ) | typeof import ( "./btp.js" ) | typeof import ( "./btpSubs.js" ) | typeof import ( "./btpInfo.js" ) | typeof import ( "./issue.js" ) ) [ ] > ;
Original file line number Diff line number Diff line change 11export function handler ( argv : any ) : void ;
22export function viewInspect ( prompts : any ) : Promise < {
33 basic : any ;
4+ parameters : any ;
45 fields : any ;
56 sql : string ;
67 cds : string ;
Original file line number Diff line number Diff line change @@ -36,4 +36,14 @@ export namespace inputPrompts {
3636 let required_3 : boolean ;
3737 export { required_3 as required } ;
3838 }
39+ namespace profile {
40+ let description_4 : string ;
41+ export { description_4 as description } ;
42+ let type_4 : string ;
43+ export { type_4 as type } ;
44+ let required_4 : boolean ;
45+ export { required_4 as required } ;
46+ export function ask_1 ( ) : void ;
47+ export { ask_1 as ask } ;
48+ }
3949}
Original file line number Diff line number Diff line change 1- export function handler ( argv : any ) : void ;
2- export function getTables ( prompts : any ) : Promise < any > ;
1+ export function handler ( argv : any ) : Promise < void > ;
2+ export function getTables ( prompts : any ) : Promise < {
3+ SCHEMA_NAME ?: string ;
4+ TABLE_NAME : string ;
5+ TABLE_OID ?: string ;
6+ COMMENTS ?: string ;
7+ } [ ] > ;
38export const command : "tables [schema] [table]" ;
49export const aliases : string [ ] ;
510export const describe : string ;
@@ -26,4 +31,13 @@ export namespace inputPrompts {
2631 let required_2 : boolean ;
2732 export { required_2 as required } ;
2833 }
34+ namespace profile {
35+ let description_3 : string ;
36+ export { description_3 as description } ;
37+ let type_3 : string ;
38+ export { type_3 as type } ;
39+ let required_3 : boolean ;
40+ export { required_3 as required } ;
41+ export function ask ( ) : void ;
42+ }
2943}
Original file line number Diff line number Diff line change 1+ export function handler ( argv : any ) : void ;
2+ export const command : "tablesPG [schema] [table]" ;
3+ export const aliases : string [ ] ;
4+ export const describe : string ;
5+ export const builder : import ( "yargs" ) . CommandBuilder < { } , { } > ;
6+ export namespace inputPrompts {
7+ namespace table {
8+ let description : string ;
9+ let type : string ;
10+ let required : boolean ;
11+ }
12+ namespace schema {
13+ let description_1 : string ;
14+ export { description_1 as description } ;
15+ let type_1 : string ;
16+ export { type_1 as type } ;
17+ let required_1 : boolean ;
18+ export { required_1 as required } ;
19+ }
20+ namespace profile {
21+ let description_2 : string ;
22+ export { description_2 as description } ;
23+ let type_2 : string ;
24+ export { type_2 as type } ;
25+ let required_2 : boolean ;
26+ export { required_2 as required } ;
27+ }
28+ }
Original file line number Diff line number Diff line change 1+ export function handler ( argv : any ) : void ;
2+ export const command : "tablesSQLite [table]" ;
3+ export const aliases : string [ ] ;
4+ export const describe : string ;
5+ export const builder : import ( "yargs" ) . CommandBuilder < { } , { } > ;
6+ export namespace inputPrompts {
7+ namespace table {
8+ let description : string ;
9+ let type : string ;
10+ let required : boolean ;
11+ }
12+ namespace profile {
13+ let description_1 : string ;
14+ export { description_1 as description } ;
15+ let type_1 : string ;
16+ export { type_1 as type } ;
17+ let required_1 : boolean ;
18+ export { required_1 as required } ;
19+ }
20+ }
Original file line number Diff line number Diff line change 1+ export default class _default extends DBClientClass {
2+ constructor ( prompts : any , optionsCDS : any ) ;
3+ listTables ( ) : Promise < any > ;
4+ #private;
5+ }
6+ import DBClientClass from "./index.js" ;
You can’t perform that action at this time.
0 commit comments