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
lordsalisbury1
3/24/20
Q&A
Deep populate a virtual field
I have a schema structure that is '3 deep' and I find that I can't display information
unread,
population
Q&A
Deep populate a virtual field
I have a schema structure that is '3 deep' and I find that I can't display information
3/24/20
Mark Voris
6/12/19
Q&A
Mongoose not returning data when MongoDB shell returns
I have been struggling where occasionally Mongoose doesn't return data even though if I manually
unread,
population
query
Q&A
Mongoose not returning data when MongoDB shell returns
I have been struggling where occasionally Mongoose doesn't return data even though if I manually
6/12/19
Jonas Garbuio
4/13/18
Q&A
query and populate a DBRef in a subDocument
Hi. I have a symfony App using Doctrine ODM and I'd like to make a little node script to do some
unread,
population
refs
Q&A
query and populate a DBRef in a subDocument
Hi. I have a symfony App using Doctrine ODM and I'd like to make a little node script to do some
4/13/18
Luka Obuljen
7/14/17
Q&A
Monsoose populating problem
Hello, I have problem with Mongoose populating function (maybe it's not problem in populate). In
unread,
population
Q&A
Monsoose populating problem
Hello, I have problem with Mongoose populating function (maybe it's not problem in populate). In
7/14/17
Syrkres Vlos
,
Rob Colbert
6
3/24/17
Q&A
Schema which has reference to alternate schema?
No problem, sorry for for lag :) You are correct. All you need is to set the field pointed to by
unread,
condition
population
Q&A
Schema which has reference to alternate schema?
No problem, sorry for for lag :) You are correct. All you need is to set the field pointed to by
3/24/17
ch...@bizpub36.com
1/6/17
Q&A
Request hangs forever when saving document with references, callback never executes
I have a schema that looks like this: var ZoneSchema = new Schema({ name: String, coupons: [{ type:
unread,
model
population
promise
refs
schema
Q&A
Request hangs forever when saving document with references, callback never executes
I have a schema that looks like this: var ZoneSchema = new Schema({ name: String, coupons: [{ type:
1/6/17
Fred Short
10/22/16
Q&A
Avoiding race condition when initializing document values
Hi, I have a schema defined as: var dailySchema = new Schema({ _id: String, date: String,
unread,
aggregation
population
schema
Q&A
Avoiding race condition when initializing document values
Hi, I have a schema defined as: var dailySchema = new Schema({ _id: String, date: String,
10/22/16
Matt Bodman
6/19/16
Q&A
Populating DBRefs
Is there any way I can populate subdocuments when the existing MongoDB schema uses DBRef's, like
unread,
population
refs
Q&A
Populating DBRefs
Is there any way I can populate subdocuments when the existing MongoDB schema uses DBRef's, like
6/19/16
Jimin Park
6/14/16
Q&A
Mongoose throws error on second time with Schema hasn't been registered
I have posted a question on stack over flow and was wondering if someone could help me out with this
unread,
population
Q&A
Mongoose throws error on second time with Schema hasn't been registered
I have posted a question on stack over flow and was wondering if someone could help me out with this
6/14/16
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
Kevin Toet
,
Ryan Wheale
4
11/18/14
Q&A
[Beginner] How to structure the following properly
Seems like a good starting point. Again, focus on the queries you are making - there's no one-
unread,
connection
model
population
schema
validation
Q&A
[Beginner] How to structure the following properly
Seems like a good starting point. Again, focus on the queries you are making - there's no one-
11/18/14
Nitesh Agarwal
10/12/14
Q&A
How do i access default value in mongoose?
I am trying something like this var someSchema = new mongoose.Schema({ _id:String, pushToken:String,
unread,
model
population
schema
Q&A
How do i access default value in mongoose?
I am trying something like this var someSchema = new mongoose.Schema({ _id:String, pushToken:String,
10/12/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
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
Michael Murray
4/11/14
Q&A
Need populate methods such that I can show second-level detail for each top-level item
Hi all - I'm a bit new to mongoose so there may be a straightforward answer to this but I haven
unread,
population
schema
Q&A
Need populate methods such that I can show second-level detail for each top-level item
Hi all - I'm a bit new to mongoose so there may be a straightforward answer to this but I haven
4/11/14
i...@bodokaiser.io
3/25/14
Q&A
How should I create refs on the go?
I have a schema called "material": var schema = new mongoose.Schema({ name: String,
unread,
model
population
refs
schema
Q&A
How should I create refs on the go?
I have a schema called "material": var schema = new mongoose.Schema({ name: String,
3/25/14
Davide Mannone
2
3/25/14
Q&A
Population fails on single line arguments and wrong subs
As integration, any of the space delimited refnames combination work fine too: CollectionModel.
unread,
population
query
refs
Q&A
Population fails on single line arguments and wrong subs
As integration, any of the space delimited refnames combination work fine too: CollectionModel.
3/25/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
nich...@originalmachine.com
, …
Joe Wagner
4
2/16/14
Q&A
Validating Through Relationships
You could potentially use a unique compound index. Depending on what your schemas look like, you
unread,
population
validation
Q&A
Validating Through Relationships
You could potentially use a unique compound index. Depending on what your schemas look like, you
2/16/14
Martin Lbc
2
1/25/14
Q&A
Mongoose population ref object
I have find the solution. It was very simple, I used : console.log(results); ==> return [Object]
unread,
population
Q&A
Mongoose population ref object
I have find the solution. It was very simple, I used : console.log(results); ==> return [Object]
1/25/14
Павел Климашкин
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
Stefano Passiatore
11/4/13
Q&A
Populate after find()
Hi, I've these Schemas: var InputSchema = new mongoose.Schema({ url: String, titleSource: String,
unread,
population
Q&A
Populate after find()
Hi, I've these Schemas: var InputSchema = new mongoose.Schema({ url: String, titleSource: String,
11/4/13
Andries Heylen
9/29/13
Q&A
distinct with populate.
I have the following model: var followerSchema = new Schema({ id_follower: {type: Schema.Types.
unread,
model
population
schema
Q&A
distinct with populate.
I have the following model: var followerSchema = new Schema({ id_follower: {type: Schema.Types.
9/29/13
xi sizhe
8/30/13
Q&A
Use mongoose populate methods but still return ObjectID rather than documents
I have designed a mongodb schema that A plan has multiple milestones, each milestones has multiple
unread,
population
schema
Q&A
Use mongoose populate methods but still return ObjectID rather than documents
I have designed a mongodb schema that A plan has multiple milestones, each milestones has multiple
8/30/13
Erwin Poeze
3
8/29/13
Q&A
Second level of nested schema is not populated
Issues https://github.com/LearnBoost/mongoose/issues/601 states "The latest Mongoose release
unread,
population
Q&A
Second level of nested schema is not populated
Issues https://github.com/LearnBoost/mongoose/issues/601 states "The latest Mongoose release
8/29/13
Benjamin Clos
8/27/13
Q&A
Virtuals On Populated Document Require Parent .toObject modification to be set
Hey guys, After searching for a bit on Google I found no relevant answers to why populated document
unread,
population
refs
schema
virtual
Q&A
Virtuals On Populated Document Require Parent .toObject modification to be set
Hey guys, After searching for a bit on Google I found no relevant answers to why populated document
8/27/13
Stefano Pongelli
8/15/13
Q&A
Need help improving my DB schema to allow for a specific query.
Hi all, I am having some troubles getting into the Mongoose mindset (bear with me, I am a database
unread,
population
query
schema
Q&A
Need help improving my DB schema to allow for a specific query.
Hi all, I am having some troubles getting into the Mongoose mindset (bear with me, I am a database
8/15/13
Mauricio Mercado
,
Aaron Heckmann
3
8/14/13
Q&A
How to Populate not returning nulls
On Wed, Aug 14, 2013 at 8:14 AM, Mauricio Mercado <m...@maumercado.com> wrote: Now its
unread,
population
Q&A
How to Populate not returning nulls
On Wed, Aug 14, 2013 at 8:14 AM, Mauricio Mercado <m...@maumercado.com> wrote: Now its
8/14/13
Tug
,
Aaron Heckmann
4
3/25/14
Q&A
Accessing ref object without calling populate
Could a document.markNotModified method make sense ? Le lundi 19 août 2013 20:11:55 UTC+2, Tug a
unread,
ObjectId
population
refs
Q&A
Accessing ref object without calling populate
Could a document.markNotModified method make sense ? Le lundi 19 août 2013 20:11:55 UTC+2, Tug a
3/25/14
Merhawie Woldezion
7/27/13
Q&A
Nested Populate
I have an Element model var ElementSchema = new Schema({ ... sub : [{type: Schema.Types.ObjectId, ref
unread,
population
refs
Q&A
Nested Populate
I have an Element model var ElementSchema = new Schema({ ... sub : [{type: Schema.Types.ObjectId, ref
7/27/13