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
xxx
2/24/20
Q&A
partial filter expression is deleting post regardless of filter
Enter code here... does anyone have experience with ttl for mongoose [8:20 PM] I am trying to set it
unread,
schema
Q&A
partial filter expression is deleting post regardless of filter
Enter code here... does anyone have experience with ttl for mongoose [8:20 PM] I am trying to set it
2/24/20
Muhammad Tayyab Sheikh
,
Richard Bateman
2
8/21/19
Q&A
Filter documents based on filter function
You can do that using $where, but it's not very efficient and can't use indexes. See https://
unread,
middleware
schema
validation
Q&A
Filter documents based on filter function
You can do that using $where, but it's not very efficient and can't use indexes. See https://
8/21/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
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
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
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
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
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
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
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
Michal Stefanow
, …
Ryan Wheale
4
5/14/15
Q&A
Mongo newcomer - which driver to choose?
I have found that knowing how the native driver works allows you to really leverage Mongoose to
unread,
schema
Q&A
Mongo newcomer - which driver to choose?
I have found that knowing how the native driver works allows you to really leverage Mongoose to
5/14/15
uma namasivayam
, …
Valeri Karpov
11
4/7/15
Q&A
Mongoose - Sharing models/schema between databases
Glad to hear 4.0.1 helped :) On Tuesday, March 31, 2015 at 1:33:06 AM UTC-4, uma namasivayam wrote: I
unread,
connection
schema
Q&A
Mongoose - Sharing models/schema between databases
Glad to hear 4.0.1 helped :) On Tuesday, March 31, 2015 at 1:33:06 AM UTC-4, uma namasivayam wrote: I
4/7/15
Dylan Kirkby
,
Guilherme Souza
3
3/24/15
Q&A
TTL for seleted Documents
Thanks for the reply and the references Guilherme! On Mon, Mar 23, 2015 at 7:47 PM, Guilherme Souza
unread,
schema
Q&A
TTL for seleted Documents
Thanks for the reply and the references Guilherme! On Mon, Mar 23, 2015 at 7:47 PM, Guilherme Souza
3/24/15
Jason Cust
, …
Valeri Karpov
5
3/25/15
Q&A
What are the valid options for VirtualType
virtuals are explicitly not stored in the db, so select doesn't affect them. Beside the obvious
unread,
getter
schema
types
virtual
Q&A
What are the valid options for VirtualType
virtuals are explicitly not stored in the db, so select doesn't affect them. Beside the obvious
3/25/15
Attila Szirmai
,
Valeri Karpov
2
2/28/15
Q&A
Minimize in nested objects
Hmm you should be able to specify minimize: true in the child schema's toObject options. Does
unread,
schema
Q&A
Minimize in nested objects
Hmm you should be able to specify minimize: true in the child schema's toObject options. Does
2/28/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
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
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
Sina
1/18/15
Q&A
How it can be possible create sub-document with multi schema validation ?
hello , I want to implement a validation on sub-document with two or more specific types , It should
unread,
plugin
schema
validation
Q&A
How it can be possible create sub-document with multi schema validation ?
hello , I want to implement a validation on sub-document with two or more specific types , It should
1/18/15
Douglas Ferguson
1/18/15
Q&A
Can I "reload" a model?
This following blows up because the model is already "loaded" var Movie = mongoose.model(
unread,
schema
Q&A
Can I "reload" a model?
This following blows up because the model is already "loaded" var Movie = mongoose.model(
1/18/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
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
Hermann Schliederwirte
,
Valeri Karpov
4
12/1/14
Q&A
Virtuals + Schemaless = undefined
I'd recommend not using `.` in virtual names, there isn't much point, you'd have to
unread,
schema
virtual
Q&A
Virtuals + Schemaless = undefined
I'd recommend not using `.` in virtual names, there isn't much point, you'd have to
12/1/14