# tMongoDBInput

Retrieves records from a collection in the MongoDB database and transfers them to the following component for display or storage.

tMongoDBInput retrieves certain documents from a MongoDB database collection by supplying a query document containing the fields the desired documents should match.

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

* [tMongoDBInput Standard properties](https://help.qlik.com/talend/en-US/components/8.0/mongodb/tmongodbinput-standard-properties)
* [tMongoDBInput properties for Apache Spark Batch](https://help.qlik.com/talend/en-US/components/8.0/mongodb/tmongodbinput-properties-for-apache-spark-batch)
* [tMongoDBInput properties for Apache Spark Streaming (deprecated)](https://help.qlik.com/talend/en-US/components/8.0/mongodb/tmongodbinput-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)
* [Importing data into MongoDB database](https://help.qlik.com/talend/en-US/components/8.0/mongodb/tmongodbinput-tmongodbbulkload-tlogrow-tmongodbbulkload-tlogrow-importing-data-into-mongodb-database-standard-component-bigdata-the)
* [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)
* [Retrieving data from a collection by advanced queries](https://help.qlik.com/talend/en-US/components/8.0/mongodb/tmongodbinput-tmongodbconnection-tmongodbclose-tlogrow-retrieving-data-from-collection-by-advanced-queries-standard-component-bigdata-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)
* [Using MongoDB functions to create a collection and write data to it](https://help.qlik.com/talend/en-US/components/8.0/mongodb/tmongodbinput-tmongodbrow-tlogrow-using-mongodb-functions-to-create-collection-and-write-data-to-it-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)