elbart/node-memcache — Issue #20: storing objects
Author: joques
Created: 2012-02-26 19:28:03+00:00
State: open

Hi,
this is more of a question. I am using the memcache module to cache some objects from a riak database. Suppose I have a simple object {me: "one", you: "two"} associated with a key abc123. And I'd like to store this object in the cache. So I do client.set('abc123', {me: "one", you: "two"}, (error, val)... Later, when I tried to fetch the object from the cache, I get [object, Object]. Was I not supposed to store the object directly in the cache? Have I missed something?