# Cheatsheets

## FindOptions

Options used to configure find operations.

Name | Type | Description
`fields` | `Json object` | Set the fields
`limit` | `Number (int)` | Set the limit
`skip` | `Number (int)` | Set the skip
`sort` | `Json object` | Set the sort document

## MongoClientDeleteResult

Result propagated from mongodb driver delete result.

Name | Type | Description
`removedCount` | `Number (long)` | Get the number of removed documents

## MongoClientUpdateResult

Result propagated from mongodb driver update result.

Name | Type | Description
`docMatched` | `Number (long)` | Get the number of documents that're matched
`docModified` | `Number (long)` | Get the number of documents that're modified
`docUpsertedId` | `Json object` | Get the document id that's upserted

## UpdateOptions

Options for configuring updates.

Name | Type | Description
`multi` | `Boolean` | Set whether multi is enabled
`upsert` | `Boolean` | Set whether upsert is enabled
`writeOption` | `WriteOption` | Set the write option