Groups
Sign in
Groups
Mongoose Node.JS ODM
Conversations
Labels
ObjectId
aggregation
array
condition
connection
error
getter
index
middleware
model
plugin
population
promise
query
refs
release
schema
setter
stream
types
update
validation
virtual
About
Send feedback
Help
Mongoose Node.JS ODM
Contact owners and managers
1–30 of 1850
Discuss, learn about, and get help with Mongoose through this community-supported forum. Other useful resources:
Mongoose:
Documentation
,
StackOverflow
,
@mongoosejs
on Twitter,
Bug Reports
,
Changelog
, irc: #mongoosejs on freenode
Node.js MongoDB Driver:
Documentation
,
Google Group
,
Bug Reports
MongoDB:
Documentation
,
Google Group
,
Downloads
,
Bug Reports
Mark all as read
Report group
0 selected
Rigin Oommen
9/27/16
Q&A
How to do full text search in all collections in mongodb without specifying the collection name
var express = require('express'); var router = express.Router(); var mongoose = require('
unread,
array
connection
index
middleware
schema
Q&A
How to do full text search in all collections in mongodb without specifying the collection name
var express = require('express'); var router = express.Router(); var mongoose = require('
9/27/16
Ashesh Khatri
,
Valeri Karpov
2
9/28/15
Q&A
Want to Update Array of Array Object Value in Mongo
It's really difficult to do this with an aggregation framework query or an update. If it were up
unread,
array
query
update
Q&A
Want to Update Array of Array Object Value in Mongo
It's really difficult to do this with an aggregation framework query or an update. If it were up
9/28/15
Peter Tinder
9/12/15
Q&A
How to query for fields and fields in nested array
I have a document like this: { "InDate": "11.09.2015", "Kst2Kst": true,
unread,
array
query
Q&A
How to query for fields and fields in nested array
I have a document like this: { "InDate": "11.09.2015", "Kst2Kst": true,
9/12/15
Donal Rafferty
,
Rolando Rodriguez
3
9/3/15
Q&A
Finding related mongodb document using Mongoose
I'm so sorry it came out like this. This is my first time ever using google groups. I hope that
unread,
ObjectId
aggregation
array
model
schema
Q&A
Finding related mongodb document using Mongoose
I'm so sorry it came out like this. This is my first time ever using google groups. I hope that
9/3/15
ZR
6/22/15
Q&A
Pushing array elements from android app to a mongoose schema
Hi All, I am trying to figure out how to push array elements from my android app to a mongoose schema
unread,
array
population
schema
update
Q&A
Pushing array elements from android app to a mongoose schema
Hi All, I am trying to figure out how to push array elements from my android app to a mongoose schema
6/22/15
Sam Martin
,
Valeri Karpov
6
2/28/15
Q&A
Sub document Inheritance
I agree, this feature would be excellent. My "not making sense" comment was referring to
unread,
array
model
schema
types
Q&A
Sub document Inheritance
I agree, this feature would be excellent. My "not making sense" comment was referring to
2/28/15
Luis Alberto Grijalva Romero
,
Anthony Ettinger
3
2/10/15
Q&A
Problems reading MongoDb collection with Node.js
is not an array but if i try with this: var arreglo = materias[x].Horario[0]; console.log(arreglo); /
unread,
array
getter
model
query
schema
Q&A
Problems reading MongoDb collection with Node.js
is not an array but if i try with this: var arreglo = materias[x].Horario[0]; console.log(arreglo); /
2/10/15
vabl...@gmail.com
,
Jason Crawford
3
2/3/15
Q&A
How to find the object by embedded document property in Mongoose?
Thank you very much. Now, I go with query an id of link first then find for the user by an id of link
unread,
array
query
schema
Q&A
How to find the object by embedded document property in Mongoose?
Thank you very much. Now, I go with query an id of link first then find for the user by an id of link
2/3/15
Rahul Aggarwal
,
Jason Crawford
2
12/8/14
Q&A
search documents that contains an array of objects with 2 or more keys on the basis of a single key
I think the query condition you want is: {'projects.name': 'Sample Project'} See
unread,
array
model
schema
Q&A
search documents that contains an array of objects with 2 or more keys on the basis of a single key
I think the query condition you want is: {'projects.name': 'Sample Project'} See
12/8/14
Travis Choma
10/6/14
Q&A
Best practice for migrating from array of Embedded Documents to an array of Object Refs
I currently have an array of embedded documents in one of my schemas and it turns out it would have
unread,
array
refs
Q&A
Best practice for migrating from array of Embedded Documents to an array of Object Refs
I currently have an array of embedded documents in one of my schemas and it turns out it would have
10/6/14
Saiteja Parsi
,
Alone Bala
2
10/6/14
Q&A
push an element to an array in a mongoose document
try this one var selection = { _id: id}; var updateQuery = { $push: { content: content,timeStamp:
unread,
array
model
query
Q&A
push an element to an array in a mongoose document
try this one var selection = { _id: id}; var updateQuery = { $push: { content: content,timeStamp:
10/6/14
Colder Xihk
,
Valeri Karpov
3
9/30/14
Document missing change event in browser
If 'overhead'. I agree with you. Let it keep current status. I should deal with the problem
unread,
array
Document missing change event in browser
If 'overhead'. I agree with you. Let it keep current status. I should deal with the problem
9/30/14
valentin genev
2
9/9/14
Q&A
How to populate array of objects (some fields of the objects or the whole object)
actually the populate line is: populate('_codes.code','code.codeText').
unread,
ObjectId
array
population
Q&A
How to populate array of objects (some fields of the objects or the whole object)
actually the populate line is: populate('_codes.code','code.codeText').
9/9/14
Wiehwa Cheung
,
Ryan Wheale
2
7/29/14
Q&A
Setter for Array Won't Be Called When Modifying
Sorry if this is stating the obvious - but if you are updating a document, try using the "set
unread,
array
setter
Q&A
Setter for Array Won't Be Called When Modifying
Sorry if this is stating the obvious - but if you are updating a document, try using the "set
7/29/14
Darin Hensley
,
Valeri Karpov
2
7/7/14
Q&A
Sub-Schema only shows '[object Object]'
Are you using `console.log`? Perhaps use `util.inspect` instead? On Friday, July 4, 2014 2:37:51 PM
unread,
array
query
schema
Q&A
Sub-Schema only shows '[object Object]'
Are you using `console.log`? Perhaps use `util.inspect` instead? On Friday, July 4, 2014 2:37:51 PM
7/7/14
Matt
,
Anthony Ettinger
2
6/23/14
Q&A
populating array of objects with a ref property
For deep populations you have to manually do it with the model object: User.findOne({displayName:
unread,
array
model
population
query
schema
Q&A
populating array of objects with a ref property
For deep populations you have to manually do it with the model object: User.findOne({displayName:
6/23/14
Travis
, …
Ryan Wheale
5
6/12/14
Q&A
Having an trouble with $push or Arrays...
Your "reviews" schema is not defined properly. You need to specify it as an array (take
unread,
array
Q&A
Having an trouble with $push or Arrays...
Your "reviews" schema is not defined properly. You need to specify it as an array (take
6/12/14
Mark Sanford
, …
William Riley-Land
4
6/6/14
Q&A
Proper use of document Document#set with arrays
Sounds like it could be a bug. You might consider adding an issue on the GitHub page. William Riley-
unread,
array
model
Q&A
Proper use of document Document#set with arrays
Sounds like it could be a bug. You might consider adding an issue on the GitHub page. William Riley-
6/6/14
Luka Blažecki
, …
Joe Wagner
4
6/4/14
Q&A
Is there a way to disable automatic creation of objects with empty arrays?
There is only one way. Define that field as mongoose.Schema.Types.Mixed and validate that array by
unread,
array
schema
Q&A
Is there a way to disable automatic creation of objects with empty arrays?
There is only one way. Define that field as mongoose.Schema.Types.Mixed and validate that array by
6/4/14
Josh
3/14/14
Q&A
Calling 'populate' leaves array of ObjectIds instead of array of objects
I'm having a hard time trying to populate an array of sub-documents with MongooseJS. Could
unread,
ObjectId
array
population
Q&A
Calling 'populate' leaves array of ObjectIds instead of array of objects
I'm having a hard time trying to populate an array of sub-documents with MongooseJS. Could
3/14/14
Ali Akhtar
,
Joe Wagner
4
2/9/14
Q&A
Problem In Query
Its works Thankx for ur help..
unread,
array
model
query
schema
Q&A
Problem In Query
Its works Thankx for ur help..
2/9/14
Olivier Bouth
1/26/14
Q&A
schema Mongoose - array + object
Hello, I want to represent this with mongoose schema, but I don't know how to do it : var array =
unread,
array
schema
Q&A
schema Mongoose - array + object
Hello, I want to represent this with mongoose schema, but I don't know how to do it : var array =
1/26/14
Bikram Basnet
,
Paul Verhoeven
3
12/19/13
Q&A
How can i set default values for subdocument in mongoose?
Very much thankful for your reply..i did like your said..but it doesnt get the value from the mongodb
unread,
array
middleware
schema
setter
update
Q&A
How can i set default values for subdocument in mongoose?
Very much thankful for your reply..i did like your said..but it doesnt get the value from the mongodb
12/19/13
John Allen
,
Joe Wagner
2
11/28/13
Q&A
Can't update embedded doc array when already have instance of parent model.
I put an answer on SO, hopefully its helpful On Tuesday, November 26, 2013 11:51:31 AM UTC-7, John
unread,
array
model
query
update
Q&A
Can't update embedded doc array when already have instance of parent model.
I put an answer on SO, hopefully its helpful On Tuesday, November 26, 2013 11:51:31 AM UTC-7, John
11/28/13
Павел Климашкин
2
11/8/13
Q&A
Repopulate array of docs after update of this docs
I know how to resolve this. user.regions = some_new_ids need to be inserted before second populate
unread,
array
population
Q&A
Repopulate array of docs after update of this docs
I know how to resolve this. user.regions = some_new_ids need to be inserted before second populate
11/8/13
Francois Rioux
, …
Joe Wagner
4
10/6/13
Q&A
findOne in loop of subdocuments. Callback closure problem.
Thank you @Alessio, Joe, I haven´t retried with your options as in the meantime, I figured out that
unread,
array
error
middleware
schema
Q&A
findOne in loop of subdocuments. Callback closure problem.
Thank you @Alessio, Joe, I haven´t retried with your options as in the meantime, I figured out that
10/6/13
imri heppner
8/28/13
Q&A
unsetting fields when pushing an object to array
Hi, my problem is with mongoose setting [ ] for arrays without asking it to do so (in update - while
unread,
array
schema
update
Q&A
unsetting fields when pushing an object to array
Hi, my problem is with mongoose setting [ ] for arrays without asking it to do so (in update - while
8/28/13
Anup Baldawa
8/27/13
Q&A
MongooseJS GeoJSON
var LocationSchema = new mongoose.Schema({'type': { type: String }, coordinates : [Numbers]},
unread,
array
error
model
schema
types
Q&A
MongooseJS GeoJSON
var LocationSchema = new mongoose.Schema({'type': { type: String }, coordinates : [Numbers]},
8/27/13
Nikita Sushko
7/7/13
Q&A
How should store data in mongoose?
Hallo, I am writing a large social network on node.js and mongodb (mongoose module). That mean there
unread,
ObjectId
array
model
refs
schema
Q&A
How should store data in mongoose?
Hallo, I am writing a large social network on node.js and mongodb (mongoose module). That mean there
7/7/13
G.H. Naylor
7/2/13
Q&A
MongoDB Design for eCommerce app
I'm new to MongoDB and NoSQL in general, and I'm having a bit of trouble designing my
unread,
array
query
schema
Q&A
MongoDB Design for eCommerce app
I'm new to MongoDB and NoSQL in general, and I'm having a bit of trouble designing my
7/2/13