chriso/redback — Issue #12: redback doesnt support select
Author: nicholasf
Created: 2012-01-03 04:05:12+00:00
State: open

Hi,

I might be missing something here but previously, talking directly to the node_redis client, I used to do this:

#coffeescript

redis = require "redis"
client = redis.createClient()
client.select app.REDIS_DB

(where app is an express obj).

Refactoring this to redback reveals that the select method isn't supported on the created client.

redback = require('redback').createClient()
redback.select app.REDIS_DB
redback

TypeError: Object [object Object] has no method 'select'

Cheers,
Nick