MongoDB
- show dbs – show all dababases
- show collections – show all collections in database.
- use [db name] – switch to the specific database.
- db.[collection].find() – find records in the collection.
- db.[collection].find({email:”ints-ints@mail.ru”}) – find specific value
- db.[collection].findOne() – find one record in the collection.
- db.[collection].findOne({email:”ints-ints@mail.ru”},{password:”12345″}) – find specific values
- db.[collection].countDocuments() – count all records in a table/collection
- w3schools
Learnng resources
Keywords
- Big data, Bigdata, Big-data, MongoDB, Mongo DB
- NoSql, No sql, No-sql
- Training, Train, Learning programming, learn,
- Programming languages