Created
December 25, 2018 16:35
-
-
Save HugoRoca/4d0bb973312967393e3a1eeda675d106 to your computer and use it in GitHub Desktop.
REDIS - get
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"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