mongodb

A collection of 1 post

Sep 27, 2018

Useful MongoDB Commands

Useful MongoDB Commands

I had the hardest time finding examples of how to connect to MongoDB via the command line and via a connection string in code. So I've compiled some helpful MongoDB commands here. For creating a database, creating a user, and connecting to the database.