aboutsummaryrefslogtreecommitdiffstats
path: root/vnfmarket/src/main/webapp/vnfmarket/node_modules/redis/examples/eval.js
diff options
context:
space:
mode:
Diffstat (limited to 'vnfmarket/src/main/webapp/vnfmarket/node_modules/redis/examples/eval.js')
-rw-r--r--vnfmarket/src/main/webapp/vnfmarket/node_modules/redis/examples/eval.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/vnfmarket/src/main/webapp/vnfmarket/node_modules/redis/examples/eval.js b/vnfmarket/src/main/webapp/vnfmarket/node_modules/redis/examples/eval.js
new file mode 100644
index 00000000..c1fbf8a5
--- /dev/null
+++ b/vnfmarket/src/main/webapp/vnfmarket/node_modules/redis/examples/eval.js
@@ -0,0 +1,9 @@
+var redis = require("./index"),
+ client = redis.createClient();
+
+redis.debug_mode = true;
+
+client.eval("return 100.5", 0, function (err, res) {
+ console.dir(err);
+ console.dir(res);
+});