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–21 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
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
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
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
Mark Stosberg
4/29/16
Q&A
How to surface custom CastError messages?
Hello, I'm working on `mongoose-geojson-schema`, which adds validation for GeoJSON objects to
unread,
validation
Q&A
How to surface custom CastError messages?
Hello, I'm working on `mongoose-geojson-schema`, which adds validation for GeoJSON objects to
4/29/16
Billy Newman
2
2/17/16
Q&A
findByIdAndUpdate does not have a 'pre' hook
And...... nevermind, I was running 4.2.7. When on 4.2.7 the post is correct. However after upgrading
unread,
middleware
query
update
validation
Q&A
findByIdAndUpdate does not have a 'pre' hook
And...... nevermind, I was running 4.2.7. When on 4.2.7 the post is correct. However after upgrading
2/17/16
Jason Cust
,
Ryan Wheale
3
8/15/15
Q&A
Check if a path was set but not modified
Thanks Ryan. I was hoping to avoid something of that nature and was wondering if there was a "
unread,
plugin
setter
validation
Q&A
Check if a path was set but not modified
Thanks Ryan. I was hoping to avoid something of that nature and was wondering if there was a "
8/15/15
Nathan Hornby
,
Raz Goldin
2
8/22/15
Q&A
No save if *any* errors found
Hi: From what I understand of what you're saying: 'I want to save the rest of the fields when
unread,
validation
Q&A
No save if *any* errors found
Hi: From what I understand of what you're saying: 'I want to save the rest of the fields when
8/22/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
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
Joshua Abrams
,
Joe Wagner
5
4/3/14
Q&A
Async patterns with node and mongoose
Helps a ton. Makes total sense. Thanks Joe. On Thursday, April 3, 2014 2:05:03 AM UTC+10, Joe Wagner
unread,
promise
update
validation
Q&A
Async patterns with node and mongoose
Helps a ton. Makes total sense. Thanks Joe. On Thursday, April 3, 2014 2:05:03 AM UTC+10, Joe Wagner
4/3/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
Paul Verhoeven
12/12/13
Q&A
Static schema property
I've got incoming JSON something like: { "foo": "bar", "other": 1,
unread,
schema
types
validation
Q&A
Static schema property
I've got incoming JSON something like: { "foo": "bar", "other": 1,
12/12/13
Nik Martin
,
Joe Wagner
3
12/12/13
Q&A
Validate manually, not on save?
Joe, Thanks for the suggestions. What I think I might do is a combination of the methods you
unread,
validation
Q&A
Validate manually, not on save?
Joe, Thanks for the suggestions. What I think I might do is a combination of the methods you
12/12/13
Алексей Фортуна
,
Aaron Heckmann
3
10/4/13
Q&A
mongoose, unexpected behavior
I did exactly as you told me but the results remained the same. I am forwarding you the complete code
unread,
schema
validation
Q&A
mongoose, unexpected behavior
I did exactly as you told me but the results remained the same. I am forwarding you the complete code
10/4/13
Ali Akhtar
9/1/13
Q&A
Social Website
I want to make Simple Social Website(like facebook) Using mongoose.. 1) I made chat box for that Now
unread,
connection
query
schema
stream
validation
Q&A
Social Website
I want to make Simple Social Website(like facebook) Using mongoose.. 1) I made chat box for that Now
9/1/13
Saransh Mohapatra
,
Aaron Heckmann
2
7/8/13
Q&A
Mongoose Validation
All validations are run in parallel. For async setters use a custom method: yourSchema.methods.
unread,
middleware
validation
virtual
Q&A
Mongoose Validation
All validations are run in parallel. For async setters use a custom method: yourSchema.methods.
7/8/13
Cristian Douce
,
Aaron Heckmann
5
5/24/13
Q&A
Array casting to String
Cool, thanks! On Thursday, May 23, 2013 6:22:09 PM UTC-3, Aaron Heckmann wrote: values are cast when
unread,
schema
validation
Q&A
Array casting to String
Cool, thanks! On Thursday, May 23, 2013 6:22:09 PM UTC-3, Aaron Heckmann wrote: values are cast when
5/24/13
Ka Yuk LEE
,
Aaron Heckmann
3
5/20/13
Q&A
SchemeString, precedence of uppercase and match
Thanks for the pointer. On 21 May 2013 05:04, "Aaron Heckmann" <aaron.h...@gmail.com
unread,
schema
validation
Q&A
SchemeString, precedence of uppercase and match
Thanks for the pointer. On 21 May 2013 05:04, "Aaron Heckmann" <aaron.h...@gmail.com
5/20/13
madhums
5/17/13
Q&A
easiest way to skip validations for a document
What is the easiest way to skip validations for a document? UserSchema.path('name').validate(
unread,
validation
Q&A
easiest way to skip validations for a document
What is the easiest way to skip validations for a document? UserSchema.path('name').validate(
5/17/13
Yashua Savage
,
Aaron Heckmann
2
2/27/13
Q&A
Using arrays with custom schema types
Unless the Url is a subdocument, validation will not get triggered currently (there is a ticket open
unread,
model
schema
validation
Q&A
Using arrays with custom schema types
Unless the Url is a subdocument, validation will not get triggered currently (there is a ticket open
2/27/13
Ethan Garofolo
,
Aaron Heckmann
6
2/15/13
Q&A
Are custom validators not supposed to work on document creation?
This is correct. If the value is not required and does not exist, why run any validation? On Fri, Feb
unread,
validation
Q&A
Are custom validators not supposed to work on document creation?
This is correct. If the value is not required and does not exist, why run any validation? On Fri, Feb
2/15/13