Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

should have option to select a particular keyspace #3

Closed
weepy opened this Issue Sep 17, 2010 · 2 comments

Comments

Projects
None yet
3 participants

weepy commented Sep 17, 2010

e.g.

var RedisStore = module.exports = function RedisStore(options) {
    options = options || {};
    Store.call(this, options);
    this.client = new redis.createClient(options.port, options.host, options);
    this.client.select(options.keyspace || 0)  // <======== here
};
Owner

tj commented Sep 20, 2010

Sounds reasonable :)

Collaborator

chirag04 commented Oct 28, 2013

can pass keyspace as options.db

@chirag04 chirag04 closed this Oct 28, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment