Create a Redis Client in Node.js
For Salesforce Functions written in Node.js, use the node-redis (redis) package to access your Redis datastore. Access the REDIS_URL
environment variable with process.env
to create a Redis client instance.
For Salesforce Functions written in Node.js, use the node-redis (redis) package to access your Redis datastore. Access the REDIS_URL
environment variable with process.env
to create a Redis client instance.