= Cheatsheets

[[BulkOperation]]
== BulkOperation


[cols=">25%,^25%,50%"]
[frame="topbot"]
|===
^|Name | Type ^| Description
|[[document]]`document`|`Json object`|-
|[[filter]]`filter`|`Json object`|-
|[[multi]]`multi`|`Boolean`|-
|[[type]]`type`|`link:enums.html#BulkOperationType[BulkOperationType]`|-
|[[upsert]]`upsert`|`Boolean`|-
|===

[[BulkWriteOptions]]
== BulkWriteOptions


[cols=">25%,^25%,50%"]
[frame="topbot"]
|===
^|Name | Type ^| Description
|[[ordered]]`ordered`|`Boolean`|-
|[[writeOption]]`writeOption`|`link:enums.html#WriteOption[WriteOption]`|-
|===

[[FindOptions]]
== FindOptions


[cols=">25%,^25%,50%"]
[frame="topbot"]
|===
^|Name | Type ^| Description
|[[batchSize]]`batchSize`|`Number (int)`|-
|[[fields]]`fields`|`Json object`|-
|[[limit]]`limit`|`Number (int)`|-
|[[skip]]`skip`|`Number (int)`|-
|[[sort]]`sort`|`Json object`|-
|===

[[IndexOptions]]
== IndexOptions


[cols=">25%,^25%,50%"]
[frame="topbot"]
|===
^|Name | Type ^| Description
|[[background]]`background`|`Boolean`|-
|[[bits]]`bits`|`Number (Integer)`|-
|[[bucketSize]]`bucketSize`|`Number (Double)`|-
|[[defaultLanguage]]`defaultLanguage`|`String`|-
|[[languageOverride]]`languageOverride`|`String`|-
|[[max]]`max`|`Number (Double)`|-
|[[min]]`min`|`Number (Double)`|-
|[[name]]`name`|`String`|-
|[[partialFilterExpression]]`partialFilterExpression`|`Json object`|-
|[[sparse]]`sparse`|`Boolean`|-
|[[sphereVersion]]`sphereVersion`|`Number (Integer)`|-
|[[storageEngine]]`storageEngine`|`Json object`|-
|[[textVersion]]`textVersion`|`Number (Integer)`|-
|[[unique]]`unique`|`Boolean`|-
|[[version]]`version`|`Number (Integer)`|-
|[[weights]]`weights`|`Json object`|-
|===

[[MongoClientBulkWriteResult]]
== MongoClientBulkWriteResult


[cols=">25%,^25%,50%"]
[frame="topbot"]
|===
^|Name | Type ^| Description
|[[deletedCount]]`deletedCount`|`Number (long)`|-
|[[insertedCount]]`insertedCount`|`Number (long)`|-
|[[matchedCount]]`matchedCount`|`Number (long)`|-
|[[modifiedCount]]`modifiedCount`|`Number (long)`|-
|[[upserts]]`upserts`|`Array of Json object`|-
|===

[[MongoClientDeleteResult]]
== MongoClientDeleteResult


[cols=">25%,^25%,50%"]
[frame="topbot"]
|===
^|Name | Type ^| Description
|[[removedCount]]`removedCount`|`Number (long)`|-
|===

[[MongoClientUpdateResult]]
== MongoClientUpdateResult


[cols=">25%,^25%,50%"]
[frame="topbot"]
|===
^|Name | Type ^| Description
|[[docMatched]]`docMatched`|`Number (long)`|-
|[[docModified]]`docModified`|`Number (long)`|-
|[[docUpsertedId]]`docUpsertedId`|`Json object`|-
|===

[[UpdateOptions]]
== UpdateOptions


[cols=">25%,^25%,50%"]
[frame="topbot"]
|===
^|Name | Type ^| Description
|[[multi]]`multi`|`Boolean`|-
|[[returningNewDocument]]`returningNewDocument`|`Boolean`|-
|[[upsert]]`upsert`|`Boolean`|-
|[[writeOption]]`writeOption`|`link:enums.html#WriteOption[WriteOption]`|-
|===