|
I'm not sure if this is exactly a bug. If an object contains an array, it doesn't match itself, which is strange:
> db.y.count()
|
1
|
> x=db.y.findOne()
|
{"_id" : ObjectId( "4a57873729a435a962700b96") , "mongo" : "hacker" , "just" : BinData type: 2 len: 9 , "and" : ["an","array","reference"] , "with" : {"a" : "reference"}}
|
> db.y.remove(x)
|
>
|
>
|
> db.y.find()
|
{"_id" : ObjectId( "4a57873729a435a962700b96") , "mongo" : "hacker" , "just" : BinData type: 2 len: 9 , "and" : ["an","array","reference"] , "with" : {"a" : "reference"}}
|
>
|
|