insertCommand property
This Map contains the insert commands. Ex.
{'insert': 'abc', 'documents': {'a', 1}, {'a', 2}, {'a', 3}, {'a', 4}
}
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> insertCommand = <String, Object>{};