mongoose-simpledb icon indicating copy to clipboard operation
mongoose-simpledb copied to clipboard

Simple API for defining mongoose models and loading them into a single object for easy access.

Results 7 mongoose-simpledb issues
Sort by recently updated
recently updated
newest added

Added support of compound indexes. (#15) Example: ``` javascript //Unique pair user_id and project_name exports.indexes = [ { fields: { user_id:1, project_name: 1 }, options: { unique: true } }...

Sorry I am new to the git world, however I believe it requires I have permissions to create a branch. So I forked it and ( https://github.com/JonTDev/mongoose-simpledb/blob/master/index.js ) Options is...

I'm assuming this module has nothing to do with AWS SimpleDB?

Now simpledb only works using one mongodb instance with one database. Would be nice if this could be extended to support multiple instances/dbs. Currently working on some projects where this...

Based on ... exports.schema = { _id: Number, name: String, email: String, avatar: String }; I tried ... exports.schema.index({name:1}, {unique: true}); and... exports.index({name:1}, {unique: true}); but neither works. How can...

I have a user.js schema file that result in a db.User model. Now I want to remove a field called 'email_verified' from all User documents, like this: ``` javascript db.User.update(...

At the moment I've added my pre and path schema extensions in the implementation of a doInit() static function that I call for each document type on node-startup. Is this...

enhancement