0.0.1-alpha • Published 4 years ago
@azure/connectors-postgresql v0.0.1-alpha
PostgreSQL Connector
This package contains an SDK for the PostgreSQL Azure Connector.
How to use
This SDK should be used with Azure Connectors. Azure Connectors makes connecting to hundreds of services a simple and consistent experience. To start using this SDK, check out instructions and samples on the Azure Connectors repo.
Example code:
import { createPostgreSQLConnector } from "@azure/connectors-postgresql";
const connectionString = process.env["CONNECTOR_CONNECTOR_STRING"];
module.exports = async function (context) {
const postgresqlConnector = await createPostgreSQLConnector(connectionString);
// Use postgresqlConnector
};
0.0.1-alpha
4 years ago