|
|
@@ -62,7 +62,7 @@ proto.matchesArray = function matchesArray(anArray, details){
|
|
|
var inner = anArray[i];
|
|
|
if (!(inner instanceof Object))
|
|
|
continue;
|
|
|
- if (this._sub.matchesBSON(inner, null)) {
|
|
|
+ if (this._sub.matchesJSON(inner, null)) {
|
|
|
if (details && details.needRecord()) {
|
|
|
details.setElemMatchKey(i);
|
|
|
}
|