File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
2.0.40 07-14-2015
2
2
-----------------
3
3
- Updated mongodb-core to 1.2.8 for APM support and 2.4 wire protocol error handler fix.
4
- - NODE-506 Ensures that errors from bulk unordered and ordered are instanceof Error (Issue #1282 , https://github.com/owenallenaz ).
4
+ - NODE-506 Ensures that errors from bulk unordered and ordered are instanceof Error (Issue #1282 , https://github.com/owenallenaz ).
5
+ - NODE-526 Unique index not throwing duplicate key error.
6
+ - NODE-528 Ignore undefined fields in Collection.find().
5
7
6
8
2.0.39 07-14-2015
7
9
-----------------
Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ Collection.prototype.find = function() {
172
172
options = args [ 0 ] ;
173
173
}
174
174
175
- if ( len === 2 && ! Array . isArray ( fields ) ) {
175
+ if ( len === 2 && fields !== undefined && ! Array . isArray ( fields ) ) {
176
176
var fieldKeys = Object . keys ( fields ) ;
177
177
var is_option = false ;
178
178
You can’t perform that action at this time.
0 commit comments