Getting Started
What is MongoDB?
Install / Config
C.R.U.D. Ops
Data Modeling
Database Mgmt
Installation and Configuration
Using the
mongo
built-in javascript shell: update, remove, functions
How do you update documents in a collection?
.
db.collection.update( { <query> }, {$set: { field: "value" }} )
How do you remove documents from a collection?
.
db.collection.remove( { <query> } )
How do you use javascript functions in the shell?
.
db.system.js.save()
db.eval("function-name")
+
o
-