added regex keys to mongo

v1.18.x
Baris Soner Usakli 11 years ago
parent ca01fb9f7d
commit 5c6a7d4b94

@ -73,7 +73,7 @@
}
module.keys = function(key, callback) {
throw new Error('not-implemented');
db.collection.find( { _key: { $regex: key /*, $options: 'i'*/ } } );
}
//hashes

Loading…
Cancel
Save