Like what we’re doing? Star us on GitHub!

What is the minimum mongodb version ?

franckmartin
5 days ago
2 2

Hi !

Is there a minimum MongoDB version to run Payload CMS?
Our current MongoDB server is running on version 4, is this likely to cause problems?

Thanks

  • DanRibbens
    Payload Team
    5 days ago

    Hi @franckmartin!
    You should be able to use MongoDB 4+. I had been developing Payload against v4 up until about 6 months ago and we try keep our Mongo API reliance simple to avoid compatibility issues with DocumentDB / Azure Cosmos DB.

    Let me know if you run into anything bizare. The most complex queries come from our reliance on aggregations used in managing versions if you're concerned, I would start there before diving in too deep.

  • franckmartin
    5 days ago

    Thank you so much for your quick answer @DanRibbens!
    We'll give it a try and let you know if we run into anything weird.

Open the post
Continue the discussion in GitHub
Can't find what you're looking for?
Get help straight from the Payload team with an Enterprise License.Learn More