This will create a connection to a SQL Server database. You'll need to provide a host, port, identifier, token and scope:
host: Specify the hostname or IP address of your SQL Server database.
port: Specify the port number on which your SQL Server database is listening.
scope: Enter the name of your SQL Server database.
identifier: Provide the username associated with your SQL Server database.
token: Enter the corresponding password for the specified SQL Server user.
Notes :
By default we will always make connections to SQL Server with the property ApplicationIntent=ReadOnly , ensuring that read-only replicas are being used if possible to run the queries!
To ensure secure access to your SQL Server database, it is recommended to whitelist Luzmo's range of IP addresses. You should whitelist Luzmo's range of IP addresses as described here .
npm install @luzmo/nodejs-sdk{
"properties": null,
"date": "2024-08-08T13:19:32.411Z",
"active": true,
"invalid": false,
"cache": 0,
"synced": false,
"datasets_meta_sync_interval": 1,
"datasets_meta_sync_enabled": true,
"provider": "sqlserver",
"host": "<your host>",
"port": "1433",
"identifier": "<your username>",
"scope": "<your database>",
"name": "My SQL Server connection",
"id": "ee5e0ca7-89a7-442d-9ca3-1d1290e57213",
"user_id": "abca9830-0dad-4b11-a6d4-23972c124020",
"updated_at": "2024-08-08T13:19:32.483Z",
"created_at": "2024-08-08T13:19:32.446Z",
"expiry": null,
"description": null,
"version": null,
"plugin_id": null,
"shareable_id": "d9b4c3e7-9410-4688-9455-2a35c7d87c68"
}