MongoDB with Async Python Transcripts
Chapter: Document Databases
Lecture: Studio 3T: A Better Shell

Login or purchase this course to watch this video and the rest of the course contents.
0:00 Now, some of you may really just love the Mongo SH, Mongo Shell tool.
0:07 I personally prefer getting a visual overview of what's going on, but I do really like to
0:13 be able to actually type just like you would in the shell, ""Here is the query,"" and explore that.
0:19 And that's why I selected Studio 3T, the free version, for this course as the GUI tool. There are others. You can go and Google them.
0:28 But for all practical purposes, this one is pretty good and it matches this requirement
0:33 that I have that I can type native shell commands and still get GUI results. I think that's really, really awesome.
0:41 So here you can see what I did is I double clicked on the packages collection and it wrote this part here in the middle.
0:47 It says db.getcollection packages find and at first it was empty. You know, just find everything.
0:52 That's why I came over here and said I want to find where the email is Samuel Colvin. So S at, kind of clever there, emulcolvin.com.
1:06 And maybe I wasn't sure, is it email or is it author email or is it author, what is it?
1:11 So you can come here and type part of it and hit control space and it will pull up an autocomplete list. Pretty awesome.
1:19 Notice at the bottom, by default, I get this hierarchical view that you can go and explore.
1:24 But if you want the true shell experience, you can flip this over in the bottom right where it says JSON view right here.
1:32 You can flip that to say, no, return the results, basically the equivalent of a dot pretty result that you would get exactly in the Mongo shell.
1:41 So hopefully you find this to be a useful tool to use throughout the course.
1:45 I'm definitely using it because I love the ability to type in this top text box area
1:51 just like I was using a real CLI, but the results I get back are in GUI form where I
1:57 can do things like edit them or explore the indexes and all kinds of stuff without bouncing around the CLI.


Talk Python's Mastodon Michael Kennedy's Mastodon