diff --git a/src/database/mongo.js b/src/database/mongo.js index 051d7aa930..6b8e02df08 100644 --- a/src/database/mongo.js +++ b/src/database/mongo.js @@ -73,7 +73,7 @@ } module.keys = function(key, callback) { - throw new Error('not-implemented'); + db.collection.find( { _key: { $regex: key /*, $options: 'i'*/ } } ); } //hashes