-
Type: Question
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Querying
-
None
> 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:
}} )
>