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–25 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
Vishal bheda
2/18/19
Q&A
MongoError: failed to connect to server [<docker-machine>:<port>] on first connect
Trying to connect MongoDB with replicaSet connection string using mongoose library. But didn't
unread,
connection
error
Q&A
MongoError: failed to connect to server [<docker-machine>:<port>] on first connect
Trying to connect MongoDB with replicaSet connection string using mongoose library. But didn't
2/18/19
Vishal bheda
2/16/19
Q&A
how to use conn.db.admin().command() on secondary in replica set?
Trying to get results of command that I passed in admin command, but it throws me back a MongoError:
unread,
error
promise
query
Q&A
how to use conn.db.admin().command() on secondary in replica set?
Trying to get results of command that I passed in admin command, but it throws me back a MongoError:
2/16/19
itxBornFire
1/17/19
Q&A
Re: mongoose.connect(), first argument should be String, received undefined.
what is the value of your process.env.MONGO??? process.env.MONGO = "..."; //it should be a
unread,
connection
error
Q&A
Re: mongoose.connect(), first argument should be String, received undefined.
what is the value of your process.env.MONGO??? process.env.MONGO = "..."; //it should be a
1/17/19
Maksim Belyakov
12/14/17
Q&A
Default log
Hello Is there a log by default? I did not have any data in the database, so I need to find the
unread,
error
index
query
Q&A
Default log
Hello Is there a log by default? I did not have any data in the database, so I need to find the
12/14/17
Ádám Kecskés
,
Valeri Karpov
2
3/11/16
Q&A
Mongoose: how to catch MongoError error caused by async callback
Thanks for reporting this issue on github, this was fixed in 4.4.7: https://github.com/Automattic/
unread,
error
Q&A
Mongoose: how to catch MongoError error caused by async callback
Thanks for reporting this issue on github, this was fixed in 4.4.7: https://github.com/Automattic/
3/11/16
Paul Klimashkin
10/20/15
Q&A
Difference between auto_reconnect and autoReconnect
After all, what is the difference between server: {auto_reconnect: true} and server: {autoReconnect:
unread,
connection
error
Q&A
Difference between auto_reconnect and autoReconnect
After all, what is the difference between server: {auto_reconnect: true} and server: {autoReconnect:
10/20/15
Nathan Zerk
,
Valeri Karpov
2
3/30/15
Q&A
npm install mongoose errors
There are no errors above, looks like you installed successfully. The compile stuff is just node-gyp
unread,
error
Q&A
npm install mongoose errors
There are no errors above, looks like you installed successfully. The compile stuff is just node-gyp
3/30/15
David Z
, …
Valeri Karpov
6
2/25/15
Q&A
cant assign schema type ObjectId: Cannot read property 'ObjectId' of undefined
Works fine for me on 3.8.23. Just to make sure it's not an issue with your code, can you run the
unread,
ObjectId
error
schema
types
Q&A
cant assign schema type ObjectId: Cannot read property 'ObjectId' of undefined
Works fine for me on 3.8.23. Just to make sure it's not an issue with your code, can you run the
2/25/15
Guilherme Souza
,
jondavidjohn
2
12/4/14
Q&A
$__.activePaths is reseted after a failed save()
This pull request just got merged into master to fix this issue. https://github.com/LearnBoost/
unread,
error
update
Q&A
$__.activePaths is reseted after a failed save()
This pull request just got merged into master to fix this issue. https://github.com/LearnBoost/
12/4/14
Rick Rafey
10/28/14
Q&A
Getting empty list from JavaScript for geoNear query that works fine in Mongo shell
I am trying to migrate my code from using $near to geoNear, as I want the sort order of the results
unread,
error
model
query
schema
Q&A
Getting empty list from JavaScript for geoNear query that works fine in Mongo shell
I am trying to migrate my code from using $near to geoNear, as I want the sort order of the results
10/28/14
Juan Diego Raimondi
,
Aaron Heckmann
2
3/14/14
Q&A
Are you guys interested in old bug reports?
Yeah we can release another 3.6.x if you've got some fixes. On Monday, March 10, 2014, Juan Diego
unread,
error
Q&A
Are you guys interested in old bug reports?
Yeah we can release another 3.6.x if you've got some fixes. On Monday, March 10, 2014, Juan Diego
3/14/14
илья мотылев
3
3/7/14
Q&A
one method for using mongoose objects
Solved by passing query object onto DoSomethingWithDb
unread,
error
model
Q&A
one method for using mongoose objects
Solved by passing query object onto DoSomethingWithDb
3/7/14
Gabriel Majivu
,
Jason Crawford
3
1/19/14
Q&A
Connect to mongodb instance from my ap
Yeah you got a point. I tried directly with the mongodb URI string and it worked. I have implemented
unread,
connection
error
Q&A
Connect to mongodb instance from my ap
Yeah you got a point. I tried directly with the mongodb URI string and it worked. I have implemented
1/19/14
Ilya Zub
, …
Aaron Heckmann
4
1/17/14
Q&A
"node: symbol lookup error" after update to 3.8.4
I've pinged the bson module author. Hopefully we'll have a fix soon. On Fri, Jan 17, 2014 at
unread,
error
update
Q&A
"node: symbol lookup error" after update to 3.8.4
I've pinged the bson module author. Hopefully we'll have a fix soon. On Fri, Jan 17, 2014 at
1/17/14
Charlie
10/28/13
Q&A
How to handle connection issues
Hi, I've got a long running app which is working great most of the time. However for seemingly no
unread,
connection
error
Q&A
How to handle connection issues
Hi, I've got a long running app which is working great most of the time. However for seemingly no
10/28/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
Dimitrii Pokrovskii
,
Simon Holmes
2
9/20/13
Q&A
Mongoose & Concurrent DB connections with read / write.
Typically you should keep your Mongoose connection open while the Node server is running. See: http:/
unread,
connection
error
Q&A
Mongoose & Concurrent DB connections with read / write.
Typically you should keep your Mongoose connection open while the Node server is running. See: http:/
9/20/13
Joe Wagner
9/6/13
Q&A
Best practice for handling version errors
I have models that contain a field which is an array of mixed types. For example, { arrfield: [ {
unread,
error
model
Q&A
Best practice for handling version errors
I have models that contain a field which is an array of mixed types. For example, { arrfield: [ {
9/6/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
Mongo Rookie
6/26/13
Q&A
findByIdAndUpdate throwing cast error when I try and update a property to null
Schema: var SomeSchema = new Schema({ name: { type: String, required: true, unique: true },
unread,
error
schema
update
Q&A
findByIdAndUpdate throwing cast error when I try and update a property to null
Schema: var SomeSchema = new Schema({ name: { type: String, required: true, unique: true },
6/26/13
Nik Macintosh
,
Aaron Heckmann
2
6/26/13
Q&A
Is it possible to have a 2dsphere index without requiring a location field?
answered on Stack Overflow On Mon, Jun 10, 2013 at 12:16 PM, Nik Macintosh <nikolas.macintosh@
unread,
error
index
model
schema
types
Q&A
Is it possible to have a 2dsphere index without requiring a location field?
answered on Stack Overflow On Mon, Jun 10, 2013 at 12:16 PM, Nik Macintosh <nikolas.macintosh@
6/26/13
Chris Andrejewski
,
Aaron Heckmann
9
6/3/13
Q&A
Mongoose Save is not Firing Callback
Still cannot reproduce. Is there anything I need? On Thu, May 23, 2013 at 4:53 PM, Chris Andrejewski
unread,
connection
error
promise
Q&A
Mongoose Save is not Firing Callback
Still cannot reproduce. Is there anything I need? On Thu, May 23, 2013 at 4:53 PM, Chris Andrejewski
6/3/13
Gavin van der Merwe
,
Aaron Heckmann
3
4/3/13
Q&A
Object.prototype.foo(){} kills kitteh example?
Thank you very much for your response. I realised this weekend I AM SIMPLY DOING IT WRONG :) Hence my
unread,
error
fail
mongoose
prototype
schema
Q&A
Object.prototype.foo(){} kills kitteh example?
Thank you very much for your response. I realised this weekend I AM SIMPLY DOING IT WRONG :) Hence my
4/3/13
Marco Kaiser
, …
Anthony Ettinger
7
7/25/14
Q&A
population and deep paths (3.6.0rc0)
This is how i do it. use an object { path: 'creator', select: '-salt -hashedPassword'
unread,
error
population
Q&A
population and deep paths (3.6.0rc0)
This is how i do it. use an object { path: 'creator', select: '-salt -hashedPassword'
7/25/14
Matt Clark
2
2/21/13
Q&A
Cast to number failed for value "[object Object]" at path "undefined"
fixed it was the "type:Number" should have been "type:{type:Number}" On Thursday,
unread,
error
model
schema
Q&A
Cast to number failed for value "[object Object]" at path "undefined"
fixed it was the "type:Number" should have been "type:{type:Number}" On Thursday,
2/21/13