Permalink
Browse files

Add eval example.

  • Loading branch information...
1 parent a4e8c74 commit ff9ac4bf341e1801fe6e21598e09c055feb8fcc8 @mranney mranney committed Nov 15, 2011
Showing with 9 additions and 0 deletions.
  1. +9 −0 examples/eval.js
View
@@ -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);
+});

0 comments on commit ff9ac4b

Please sign in to comment.