use mydatabase;
db.createCollection('mycollection');
db.mycollection.insertOne({ key: 'value' });
show databases;
show collections;
db.mycollection.find();
db.mycollection.updateOne({ key: 'value' }, { $set: { key: 'new_value' } });
db.mycollection.deleteOne({ key: 'value' });
db.mycollection.drop();
use mydatabase;
db.dropDatabase();