MongoDB
google ads placeholder
- 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:”[email protected]”}) – find specific value
- db.[collection].findOne() – find one record in the collection.
- db.[collection].findOne({email:”[email protected]”},{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