updateCommand property

Map<String, Object> updateCommand
getter/setter pair

This Map contains the update commands. Ex. {'update': 'abc', 'updates': {'filter': {'a': 1}, 'update': {'a': 10}}} This could be the result of the following: collection.bulkWrite([ {'insertOne': {'document: {'a', 1}}}, {'insertMany': {'documents': {'a', 2}, {'a', 3}}}, {'deleteOne': {'filter': {'a': 1}}} {'updateOne': {'filter': {'a': 1}, 'update': {'a': 10}}} {'insertOne': {'document: {'a', 4}}}, ])

Implementation

Map<String, Object> updateCommand = <String, Object>{};