Skip to main content
MongoDB

MongoDB - Select database

MongoDB - Select database

Selects a database inside an established MongoDB connection. This action is required before selecting a collection for read or write operations.


Options

Connection

Reference to the MongoDB: Connection action used to select the database.

Database name

Name of the database to select inside the connected MongoDB instance.

Returns

This action has no direct returns. Its ID is used as a reference by the MongoDB: Select collection action.

Rules and Conditions

  • The Connection and Database name fields are required.
  • The given database must exist in the connected MongoDB instance.