documentation/Reference/Database Driver Reference/MongoDB - Native Connectors.md
{% include database-boilerplate.html %}
We have to map Flyway concepts and language rooted in the relational database world to MongoDB - this is how Flyway sees the mapping:
| MongoDB Concept | Flyway Concept |
|---|---|
| database | database/schema |
| collection | table |
| document | row |
| transaction | transaction |
mongosh to be installed. If you are not using the default database, you will need to include the database name and auth source in your url.redgate/flyway:{{site.flywayVersion}}-mongo, -alpine-mongo or -azure-mongo images..js migrations will not work. A warning will be displayed if executeInTransaction is set.
See this blog post for more details.