Details
-
Question
-
Status: Closed
-
Major - P3
-
Resolution: Works as Designed
-
None
-
None
-
None
Description
> c.drop();
true
> c.save( {a:[
,{}]} )
> c.find(
)
> c.find( {a:{$elemMatch:
}} )
{ "_id" : ObjectId("4e13d80b82517cd82873bc17"), "a" : [
, { } ] }
Don't know if this is desired or not, thought I would check.
Also, the behavior is different from the above if the field missing 'b' is not an object:
> c.drop()
false
> c.save( {a:[
,'z']} )
> c.find(
)
> c.find( {a:{$elemMatch:
}} )
>