-
Type: Task
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
Array Updates
// 3. Exploiting the power of arrays MongoCollection<Document> collection = client .getDatabase("test") .getCollection("arrayUpdatesTest"); collection.updateOne( Filters.eq("_id", 1), Updates.set("a.$[i].b", 2), new UpdateOptions() .arrayFilters( Collections.singletonList( Filters.eq("i.b", 0))));
- is depended on by
-
DRIVERS-434 Provide code samples for MongoDB 3.6 page
- Closed