Getting Started
What is MongoDB?
Install / Config
C.R.U.D. Ops
Data Modeling
Database Mgmt
What are projections?
Specifies which fields are returned
Syntax:
find( { query }, { projection } )
In the projection document, 1 = include, 0 = exclude
Example:
find( {query}, { name : 1, _id : 0 } )
"name" is included
"_id" is excluded
>>
+
o
-