alfred
alfred copied to clipboard
Node is your mansion, Alfred is your butler. Node.js key-value store
Hello pgte! I am migrationBot, an [open-source](https://github.com/blakmatrix/node-migrator-bot) bot, and I'm here to help you migrate your codebase to node v0.8! Did you know that the "sys" module throws an error...
Hi! I am migrationBot! Did you know that `path.{exists,existsSync}` was moved to `fs.{exists,existsSync}`, and that `tty.setRawMode(mode)` was moved to `tty.ReadStream#setRawMode()` (i.e. `process.stdin.setRawMode()`) in node v0.8.0? Read more @[API changes between...
# [Issue #13](https://github.com/pgte/alfred/issues/13) I didn't found any reference to the variable `value`, so i just deleted and everything worked as expected. # [Issue #14](https://github.com/pgte/alfred/issues/14) Instead of returning a stream, it...
Hi!!..I'm using redis for a small app,,,now but I need a db which can be embedded...I'm using a lot glob-style patterns like: h?llo matches hello, hallo and hxllo h*llo matches...
``` article.find({date: {$range: {$start: null, $end: null}}}).all(function (articles) { articles[0].destroy(); }); ``` throws: ``` /usr/local/lib/node_modules/alfred/lib/alfred/meta/model/model.js:167 this.promises.done(function() { RangeError: Maximum call stack size exceeded ```
``` var stream = article.find({date: {$range: {$start: null, $end: null}}}).stream(); stream.on('record', function(record) { console.log(record); }); stream.on('error', function(err) { throw(err); }); stream.on('end', function() { console.log('ended'); }); ``` throws ``` TypeError: Object...
``` article.find({date: {$range: {$start: null, $end: null}}}).stream(function (stream) { console.log(); }); ``` throws: ``` /usr/local/lib/node_modules/alfred/lib/alfred/meta/model/model.js:219 ReferenceError: value is not defined at [object Object]. (/usr/local/lib/node_modules/alfred/lib/alfred/meta/model/model.js:219:11) at [object Object].emit (events.js:70:17) at /usr/local/lib/node_modules/alfred/lib/alfred/meta/finder_stream.js:59:16...
When using the ODM how can I retrieve all the records: I've tried the following with no success: User.find({}).all(function(users) { console.log(users); } I get an empty collection.
Can i use this code? User.property('loginname','string',{unique:true})
Hi. I noticed that scan doesn't utilize capabilities of cached_key_map get method while it can do that. We make the following patch to make it work: 136,137c136,137 < self.getAtPos(pos, length,...