Skip to content

Instantly share code, notes, and snippets.

@HugoRoca
Created December 25, 2018 16:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HugoRoca/4d0bb973312967393e3a1eeda675d106 to your computer and use it in GitHub Desktop.
Save HugoRoca/4d0bb973312967393e3a1eeda675d106 to your computer and use it in GitHub Desktop.
REDIS - get
"use strict";
const redisConnection = require("./redis-connection");
const redis = new redisConnection();
(async () => {
try {
let rr = await redis.get("dataPrueba");
console.log(rr);
} catch (error) {
console.log(`Error al procesar: ${error}`);
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment