# tMongoDBOutput

Executes the action defined on the collection in the MongoDB database.

tMongoDBOutput inserts, updates, upserts or deletes documents in a MongoDB database collection based on the incoming flow from the preceding component in the Job.

This component is not shipped with your Talend Studio by default. You need to install it using the Feature Manager. For more information, see [Installing features using the Feature Manager](https://help.qlik.com/talend/r/en-US/8.0/studio-user-guide/install-features-to-talend-studio).

### In this section

* [tMongoDBOutput Standard properties](https://help.qlik.com/talend/en-US/components/8.0/mongodb/tmongodboutput-standard-properties)
* [tMongoDBOutput properties for Apache Spark Batch](https://help.qlik.com/talend/en-US/components/8.0/mongodb/tmongodboutput-properties-for-apache-spark-batch)
* [tMongoDBOutput properties for Apache Spark Streaming (deprecated)](https://help.qlik.com/talend/en-US/components/8.0/mongodb/tmongodboutput-properties-for-apache-spark-streaming)

**Related concepts**

* [Creating a collection and writing data to it](https://help.qlik.com/talend/en-US/components/8.0/mongodb/tmongodbinput-tmongodboutput-tlogrow-creating-collection-and-writing-data-to-it-standard-component-bigdata-this)
* [Inserting records to a MongoDB collection using a dynamic schema](https://help.qlik.com/talend/en-US/components/8.0/mongodb/inserting-records-to-a-mongodb-collection-using-dynamic-schema)
* [Reading and writing data in MongoDB using a Spark Streaming Job](https://help.qlik.com/talend/en-US/components/8.0/mongodb/tmongodblookupinput-tmongodbconfiguration-ts3configuration-reading-and-writing-data-in-mongodb-using-spark-streaming-job-spark-stream-component-in-this)
* [Upserting records in a collection](https://help.qlik.com/talend/en-US/components/8.0/mongodb/tmongodbinput-tmongodboutput-tlogrow-upserting-records-in-collection-standard-component-bigdata-this)
* [Writing and reading data from MongoDB using a Spark Batch Job](https://help.qlik.com/talend/en-US/components/8.0/mongodb/tmongodboutput-tmongodbinput-ts3configuration-writing-and-reading-data-from-mongodb-using-spark-batch-job-spark-batch-component-in-this)