Report
Question
In my project I have a search bar where the user can search for other users. I’m using MongoDB as my database engine, and mongoose on nodeJS for my server, and so far everything works, except for one thing, i would ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
1 Answer 10 views

Report
Question
Given that I have a document of the following structure: { selectedId: ObjectId("57b5fb2d7b41dde99009bc75"), children: [ {_id: ObjectId("57b5fb2d7b41dde99009bc75"), val: 10}, {_id: ObjectId("57b5fb2d7b41dde99009bc75"), ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
1 Answer 33 views

Report
Question
I have a directory named test, in package.json I have the script: "test": "mocha --recursive" this is the error I get when I run it /node_modules/mongoose/lib/schema.js:387 throw new TypeError('Invalid value for schema path `' + prefix + key + '`'); ^ TypeError: ...

Please briefly explain why you feel this question should be reported .

Report Cancel
0
0 Answer 7 views

Report
Question
This is a very simplified version of my query. Is it acceptable / efficient to join the two collections for the client with the use of for loops? There could be up to 2,000 books, which also means there could ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
1 Answer 12 views

Report
Question
I have a conversation schema which will allow users for private messaging, each two users can be in ONE conversation therefore, the recipients in the conversations should be unique /** Users in this conversation**/ var usersSchema = new Schema({ ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
1 Answer 15 views

Report
Question
I am working on a ExpressJS and MongoDB project that involves parsing dynamic mongoose schema. The way I set up the dynamic schema is and parse it : Step-1 //Creating a mongoose schema var userSchema = mongoose.Schema({ measurements : [ ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
1 Answer 19 views