MongoDB
Config
Config. to run MongoDB
- Set
PATH
as system variable (~/.bashrc
) - Create folders
/data/db
and setrw-
permissions to correct user. - start
mongod
Queries
Find
by element
db.getCollection('documentX').find({ _id : ObjectId("5b7e99a9149559198c5024a4") })