Sha256: 883637ffa60f0f2a3fe8167491f89aa84d6c5fa75fd2f5677ae6243774dde7f9

Contents?: true

Size: 456 Bytes

Versions: 33

Compression:

Stored size: 456 Bytes

Contents

// Sending commands in response to other commands.
// This example runs "type" against every key in the database
//
var client = require("redis").createClient();

client.keys("*", function (err, keys) {
    keys.forEach(function (key, pos) {
        client.type(key, function (err, keytype) {
            console.log(key + " is " + keytype);
            if (pos === (keys.length - 1)) {
                client.quit();
            }
        });
    });
});

Version data entries

33 entries across 33 versions & 4 rubygems

Version Path
hooch-0.4.2 jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/subqueries.js
hooch-0.4.1 jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/subqueries.js
hooch-0.4.0 jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/subqueries.js
hooch-0.3.0 jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/subqueries.js
hooch-0.2.1 jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/subqueries.js
hooch-0.2.0 jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/subqueries.js
hooch-0.1.0 jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/subqueries.js
hooch-0.0.8 jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/subqueries.js
hooch-0.0.7 jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/subqueries.js
hooch-0.0.6 jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/subqueries.js
entangled-0.0.16 spec/dummy/public/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/subqueries.js
entangled-0.0.15 spec/dummy/public/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/subqueries.js
entangled-0.0.14 spec/dummy/public/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/subqueries.js
entangled-0.0.13 spec/dummy/public/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/subqueries.js
entangled-0.0.12 spec/dummy/public/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/subqueries.js
entangled-0.0.11 spec/dummy/public/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/subqueries.js
entangled-0.0.10 spec/dummy/public/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/subqueries.js
express_translate-1.0.13 node_modules/redis/examples/subqueries.js
express_translate-1.0.12 node_modules/redis/examples/subqueries.js
express_translate-1.0.11 node_modules/redis/examples/subqueries.js