Spruce for MongoDB

Questions and Answers

Can I connect to my MongoDB Atlas cluster?

Yes! Log in to your MongoDB Atlas account, select your project, click the Connect button, select Connect your application, and copy the connection string. It should look similar to this:


Can Spruce work for me even if I only have access to a specific database?

Yes! When you don't have permission to list databases, append the database you do have access to in the connection string and Spruce will automatically use it as a fallback. For example, this will connect directly to the cats database:


Fun fact: this is how I set up Apple reviewers to test the Mac app with my Atlas cluster.

Why does Live Query require a replica set or sharded cluster?

Live Query is built on top of Change Streams which themselves leverage replication. This rules out single instances, where queries and documents must be refreshed manually.