Gathering detailed insights and metrics for loopback-connector-saphana
Gathering detailed insights and metrics for loopback-connector-saphana
npm install loopback-connector-saphana
Typescript
Module System
NPM Version
74.3
Supply Chain
97.4
Quality
77.2
Maintenance
50
Vulnerability
99.6
License
JavaScript (100%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
15,106
Last Day
4
Last Week
101
Last Month
544
Last Year
3,936
Apache-2.0 License
3 Stars
46 Commits
3 Forks
4 Watchers
1 Branches
1 Contributors
Updated on Jan 28, 2023
Latest Version
0.7.2
Package Id
loopback-connector-saphana@0.7.2
Size
29.57 kB
NPM Version
1.4.28
Cumulative downloads
Total Downloads
Last Day
0%
4
Compared to previous day
Last Week
14.8%
101
Compared to previous week
Last Month
100.7%
544
Compared to previous month
Last Year
50.1%
3,936
Compared to previous year
4
6
loopback-connector-saphana
is the SAP HANA connector module for loopback-datasource-juggler.
The connector can be configured using the following settings from the data source.
NOTE: By default, the default schema of the user is used for all tables which is the same as the username.
The SAP HANA connector uses node-hdb as the driver. See more information about configuration parameters, check https://github.com/SAP/node-hdb/blob/master/README.md.
SAP HANA data sources allow you to discover model definition information from existing SAP HANA databases. See the following APIs:
The model definition consists of the following properties:
1 2 {"name": "Inventory", "options": { 3 "idInjection": false, 4 "hdb": { 5 "schema": "strongloop", 6 "table": "inventory" 7 } 8 }, "properties": { 9 "id": { 10 "type": "String", 11 "required": false, 12 "length": 64, 13 "precision": null, 14 "scale": null, 15 "hdb": { 16 "columnName": "id", 17 "dataType": "varchar", 18 "dataLength": 64, 19 "dataPrecision": null, 20 "dataScale": null, 21 "nullable": "NO" 22 } 23 }, 24 "productId": { 25 "type": "String", 26 "required": false, 27 "length": 20, 28 "precision": null, 29 "scale": null, 30 "id": 1, 31 "hdb": { 32 "columnName": "product_id", 33 "dataType": "varchar", 34 "dataLength": 20, 35 "dataPrecision": null, 36 "dataScale": null, 37 "nullable": "YES" 38 } 39 }, 40 "locationId": { 41 "type": "String", 42 "required": false, 43 "length": 20, 44 "precision": null, 45 "scale": null, 46 "id": 1, 47 "hdb": { 48 "columnName": "location_id", 49 "dataType": "varchar", 50 "dataLength": 20, 51 "dataPrecision": null, 52 "dataScale": null, 53 "nullable": "YES" 54 } 55 }, 56 "available": { 57 "type": "Number", 58 "required": false, 59 "length": null, 60 "precision": 32, 61 "scale": 0, 62 "hdb": { 63 "columnName": "available", 64 "dataType": "integer", 65 "dataLength": null, 66 "dataPrecision": 32, 67 "dataScale": 0, 68 "nullable": "YES" 69 } 70 }, 71 "total": { 72 "type": "Number", 73 "required": false, 74 "length": null, 75 "precision": 32, 76 "scale": 0, 77 "hdb": { 78 "columnName": "total", 79 "dataType": "integer", 80 "dataLength": null, 81 "dataPrecision": 32, 82 "dataScale": 0, 83 "nullable": "YES" 84 } 85 } 86 }} 87
Destroying models may result in errors due to foreign key integrity. Make sure to delete any related models first before calling delete on model's with relationships.
After making changes to your model properties you must call Model.automigrate()
or Model.autoupdate()
. Only call Model.automigrate()
on new models
as it will drop existing tables.
LoopBack SAP HANA connector creates the following schema objects for a given model:
npm test
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 1/24 approved changesets -- score normalized to 0
Reason
project is archived
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-02-10
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More