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
Taran Vohra
10/7/19
Q&A
BulkWrite not committing changes as expected
I am running MongoDB 4.0 on MongoDB Atlas Free Tier and using Mongoose 5.7 ODM in Node.js My problem
unread,
model
update
Q&A
BulkWrite not committing changes as expected
I am running MongoDB 4.0 on MongoDB Atlas Free Tier and using Mongoose 5.7 ODM in Node.js My problem
10/7/19
CJ Carter
,
Joe Wagner
5
10/22/18
Q&A
Sorting Infinite Scroll with Mongo and Mongoose shows wrong results
I don't think callback vs. await would matter, but can you try it? On Monday, October 22, 2018 at
unread,
middleware
model
plugin
schema
Q&A
Sorting Infinite Scroll with Mongo and Mongoose shows wrong results
I don't think callback vs. await would matter, but can you try it? On Monday, October 22, 2018 at
10/22/18
charan tej
3/1/17
Q&A
How to achieve authorize the pages in MEAN stack web application using Mongoose and MongoDB?
I am being writing the schema for the Application in mongodb. Usually in asp.net with Sql, We have
unread,
model
schema
validation
Q&A
How to achieve authorize the pages in MEAN stack web application using Mongoose and MongoDB?
I am being writing the schema for the Application in mongodb. Usually in asp.net with Sql, We have
3/1/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
Patrick Borrelli
10/26/16
Q&A
Mongoose "Model.find is not a function" - cascading deletes works in one case, fails in another
I have two similar parent-child relationship trees in my data model and I am using Mongoose's
unread,
middleware
model
schema
Q&A
Mongoose "Model.find is not a function" - cascading deletes works in one case, fails in another
I have two similar parent-child relationship trees in my data model and I am using Mongoose's
10/26/16
Michael Donux
9/19/16
Q&A
How to save the whole schema while not explicitly defining some of the fields
Hi, my question is the title. And my example is as below: var catSchema = new Schema({ name: String,
unread,
model
schema
Q&A
How to save the whole schema while not explicitly defining some of the fields
Hi, my question is the title. And my example is as below: var catSchema = new Schema({ name: String,
9/19/16
Nigel Horton
2
10/13/16
Q&A
What does Mongoose#model parameter skipInit actually do?
Almost 4 months later and not a single response, wow... On Thursday, 28 July 2016 10:24:18 UTC+1,
unread,
model
Q&A
What does Mongoose#model parameter skipInit actually do?
Almost 4 months later and not a single response, wow... On Thursday, 28 July 2016 10:24:18 UTC+1,
10/13/16
Raul Contreras
6/2/16
Q&A
Mongoose, the even times not validates me the data
I don't know why hopes me this, but for example, i fill the form with a data, and i send that
unread,
model
validation
Q&A
Mongoose, the even times not validates me the data
I don't know why hopes me this, but for example, i fill the form with a data, and i send that
6/2/16
jati...@ykone.com
,
Thomas Blobaum
3
4/14/16
Q&A
mongoose-text-search is not working
Check out this implementation https://github.com/tblobaum/mongoose-troop/blob/master/README.md#
unread,
index
model
plugin
query
schema
Q&A
mongoose-text-search is not working
Check out this implementation https://github.com/tblobaum/mongoose-troop/blob/master/README.md#
4/14/16
Nejc Vukovic
,
Richard Bateman
2
12/22/15
Q&A
Complex Schemas for Authentication?
At first glance, it looks very much to me like you are trying to design for a SQL database and then
unread,
ObjectId
model
refs
Q&A
Complex Schemas for Authentication?
At first glance, it looks very much to me like you are trying to design for a SQL database and then
12/22/15
Joshua Swiss
12/8/15
Q&A
TXT File Upload w/o GridFS
Hi All: Probably a bit of a noob question, but I'm using Node and Mongoose to develop a site
unread,
model
schema
Q&A
TXT File Upload w/o GridFS
Hi All: Probably a bit of a noob question, but I'm using Node and Mongoose to develop a site
12/8/15
al...@lectal.com
10/31/15
Q&A
Mongoose - conditionally calling lean() in node.js
I am trying to determine how lean() works so that I can call it conditionally? Here is my question on
unread,
middleware
model
query
Q&A
Mongoose - conditionally calling lean() in node.js
I am trying to determine how lean() works so that I can call it conditionally? Here is my question on
10/31/15
Stevens Garcia
10/19/15
Q&A
I can't insert documents with Model.create()
Hello partners, I'm struggling trying to insert a bunch of documents. It keeps loading after
unread,
ObjectId
model
schema
Q&A
I can't insert documents with Model.create()
Hello partners, I'm struggling trying to insert a bunch of documents. It keeps loading after
10/19/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
Jae hyun yoo
6/28/15
Q&A
how do I access to collection's data size through mongoose?
Hi, how do I get mongodb's collection method datasize() with mongoose? var Post = db.model('
unread,
model
update
Q&A
how do I access to collection's data size through mongoose?
Hi, how do I get mongodb's collection method datasize() with mongoose? var Post = db.model('
6/28/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
dr_jonat...@hotmail.co.uk
2
2/4/15
Q&A
Need help with geoSearch and geoNear (getting error "can't find ns").
UPDATE: I have tried manually creating a geoHaystack index using the Mongo Client shell. This works (
unread,
model
query
Q&A
Need help with geoSearch and geoNear (getting error "can't find ns").
UPDATE: I have tried manually creating a geoHaystack index using the Mongo Client shell. This works (
2/4/15
Bernardo Figuerêdo Domingues
2
1/30/15
Q&A
Instance Methods on existing Documents
Nevermind... I've been heads deep on this for so long that I forgot that find() returns an Array
unread,
model
schema
Q&A
Instance Methods on existing Documents
Nevermind... I've been heads deep on this for so long that I forgot that find() returns an Array
1/30/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
Greg Braman
,
Valeri Karpov
2
12/4/14
Q&A
Default Scope for Queries?
Do you mean setting query defaults per model? Mongoose currently doesn't have a built-in method
unread,
model
query
Q&A
Default Scope for Queries?
Do you mean setting query defaults per model? Mongoose currently doesn't have a built-in method
12/4/14
Mobin Motallebizadeh
, …
Ryan Wheale
3
12/10/14
Q&A
Return a mongoose schema as JSON
YourSchema.paths YourModel.schema.paths You can overwrite the toJSON method on those objects if you
unread,
model
schema
Q&A
Return a mongoose schema as JSON
YourSchema.paths YourModel.schema.paths You can overwrite the toJSON method on those objects if you
12/10/14
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
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
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
Alone Bala
10/4/14
Q&A
My localhost Still Very Very Slow query response from Mongodb.. response time 19999ms or more. how
I have run mongodb collection run localhost:3000 .upto day before no problem..but suddenly last two
unread,
model
Q&A
My localhost Still Very Very Slow query response from Mongodb.. response time 19999ms or more. how
I have run mongodb collection run localhost:3000 .upto day before no problem..but suddenly last two
10/4/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
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
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
Salines
,
William Riley-Land
3
4/17/14
Q&A
Find by geolocation & fulltext search terms @mongodb 2.6
Thanks ..
unread,
aggregation
model
query
Q&A
Find by geolocation & fulltext search terms @mongodb 2.6
Thanks ..
4/17/14