> use test;
switched to db test
The Basics
> show collections;
>
Get or create a database
> db.users.insert({ email: "
[email protected]", password: "woot!" });
WriteResult({ "nInserted" : 1 })
Show tables
> db.users.find();
{ "_id" : ObjectId("59247d0f3dacfc7ef19a41d2"), "email" : "
[email protected]", "password" :
"woot!" }
Create table and insert something
SELECT * FROM users;