You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongoo...@googlegroups.com
I need tomake aquerythata changeis repeated inseveral documents.ButI just wanttoleavemeone of thosedocuments.ButI cannotdo'FindOne',why should Ibringmoredocuments with thosesame characteristics.Assuchquerysago?
That means,I havethis inthe collection
{ x : ObjectId(1), y : [ ObjectId(2) ], z : "My string ...", w : ISODate("2013-09-19T16:45:13.573Z") } { x : ObjectId(2), y : [ ObjectId(3), ObjectId(1) ], z : "My string", w : ISODate("2013-09-18T00:57:41.204Z")} { x : ObjectId(3), y : [ ObjectId(4), ObjectId(2) ], z : "My string", w :ISODate("2013-09-18T00:57:41.204Z") } { x : ObjectId(4), y : [ ObjectId(3) ], z : "My string", w : ISODate("2013-09-19T16:45:13.573Z") } { x : ObjectId(1), y : [ ObjectId(2), ObjectId(3) ], z : "My string", w : ISODate("2013-09-19T16:45:13.573Z") } { x : ObjectId(4), y : [ ObjectId(3) ], z : "My string", w : ISODate("2013-09-19T16:45:13.573Z") } { x : ObjectId(1), y : [ ObjectId(2), ObjectId(3) ], z : "My string", w : ISODate("2013-09-19T16:45:13.573Z") }
Now I want togoso { x : ObjectId(1), y : [ ObjectId(2) ], z : "My string ...", w : ISODate("2013-09-19T16:45:13.573Z") } { x : ObjectId(2), y : [ ObjectId(3), ObjectId(1) ], z : "My string", w : ISODate("2013-09-18T00:57:41.204Z")} { x : ObjectId(3), y : [ ObjectId(4), ObjectId(2) ], z : "My string", w :ISODate("2013-09-18T00:57:41.204Z") } { x : ObjectId(4), y : [ ObjectId(3) ], z : "My string", w : ISODate("2013-09-19T16:45:13.573Z") }
Datanot know
The content of thestring --> z
TheId --> x
Withthe dateis organizedor making asort
Dataif
I have anIdcorrespondingtoy
AndI havea maximum numberofdocumentsora limit is 100