You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
-3Lines changed: 0 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -215,11 +215,8 @@ await timber.remove()
215
215
216
216
```
217
217
npm install @sap/hana-client
218
-
npm install hdb-pool
219
218
```
220
219
221
-
_SAP Hana support made possible by the sponsorship of [Neptune Software](https://www.neptune-software.com/)._
Copy file name to clipboardExpand all lines: docs/docs/data-source/2-data-source-options.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -544,6 +544,24 @@ The following TNS connection string will be used in the next explanations:
544
544
-`sid` - The System Identifier (SID) identifies a specific database instance. For example, "sales".
545
545
-`serviceName` - The Service Name is an identifier of a database service. For example, `sales.us.example.com`.
546
546
547
+
## `sap` data source options
548
+
549
+
-`host` - The hostname of the SAP HANA server. For example, `"localhost"`.
550
+
-`port` - The port number of the SAP HANA server. For example, `30015`.
551
+
-`username` - The username to connect to the SAP HANA server. For example, `"SYSTEM"`.
552
+
-`password` - The password to connect to the SAP HANA server. For example, `"password"`.
553
+
-`database` - The name of the database to connect to. For example, `"HXE"`.
554
+
-`encrypt` - Whether to encrypt the connection. For example, `true`.
555
+
-`sslValidateCertificate` - Whether to validate the SSL certificate. For example, `true`.
556
+
-`key`, `cert` and `ca` - Private key, public certificate and certificate authority for the encrypted connection.
557
+
-`pool` — Connection pool configuration object:
558
+
-`maxConnectedOrPooled` (number) — Max active or idle connections in the pool (default: 10).
559
+
-`maxPooledIdleTime` (seconds) — Time before an idle connection is closed (default: 30).
560
+
-`pingCheck` (boolean) — Whether to validate connections before use (default: false).
561
+
-`poolCapacity` (number) — Maximum number of connections to be kept available (default: no limit).
562
+
563
+
See the official documentation of SAP HANA Client for more details as well as the `extra` properties: [Node.js Connection Properties](https://help.sap.com/docs/SAP_HANA_CLIENT/f1b440ded6144a54ada97ff95dac7adf/4fe9978ebac44f35b9369ef5a4a26f4c.html).
564
+
547
565
## Data Source Options example
548
566
549
567
Here is a small example of data source options for mysql:
Copy file name to clipboardExpand all lines: docs/docs/getting-started.md
+2-9Lines changed: 2 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -193,18 +193,11 @@ await timber.remove()
193
193
194
194
- for **SAP Hana**
195
195
196
-
```
197
-
npm install @sap/hana-client
198
-
npm install hdb-pool
199
-
```
200
-
201
-
_SAP Hana support made possible by the sponsorship of [Neptune Software](https://www.neptune-software.com/)._
196
+
`npm install @sap/hana-client --save`
202
197
203
198
- for **Google Cloud Spanner**
204
199
205
-
```
206
-
npm install @google-cloud/spanner --save
207
-
```
200
+
`npm install @google-cloud/spanner --save`
208
201
209
202
Provide authentication credentials to your application code
210
203
by setting the environment variable `GOOGLE_APPLICATION_CREDENTIALS`:
0 commit comments