boobst
Version:
Simple Node.js Caché driver
42 lines (33 loc) • 830 B
JavaScript
// Generated by CoffeeScript 1.7.1
(function() {
var BoobstSocket, boobst, bs, longstring, _i, _results;
boobst = require('../boobst');
BoobstSocket = boobst.BoobstSocket;
bs = new BoobstSocket(require('../test/test.config'));
longstring = '';
(function() {
_results = [];
for (_i = 1; _i <= 10000; _i++){ _results.push(_i); }
return _results;
}).apply(this).forEach(function() {
return longstring += 'olol';
});
bs.connect(function(err) {
this.zn('USER');
if (err) {
throw err;
}
return this.set('^test', [], {
"array": ["a", "ab", "abc"],
"object": {
"a": "a",
"b": 2
},
"boolean": true,
"number": 42
}, function() {
return this.disconnect();
});
});
}).call(this);
//# sourceMappingURL=saveObject.map