NoSQL Zoo: Difference between revisions
From NoSQLZoo
No edit summary |
|||
Line 1: | Line 1: | ||
<div class="q nonum" data-lang="mongo | <div class="q nonum" data-lang="mongo"> | ||
What is the capital of France? | What is the capital of France? | ||
<pre class="def">db.world.findOne({name:"France"},{capital:1})</pre> | <pre class="def">db.world.findOne({name:"France"},{capital:1})</pre> | ||
</div> | </div> | ||
{{TopTenTips}} | |||
<div style="min-height:25em"> | <div style="min-height:25em"> | ||
Learn NoSQL using: MongoDB | Learn NoSQL using: MongoDB |
Revision as of 00:06, 9 April 2018
What is the capital of France?
db.world.findOne({name:"France"},{capital:1})
Learn NoSQL using: MongoDB
Tutorials: Learn NoSQL in stages
- 1 Find Tutorial
- Using Find.
- 2 AGGREGATE Tutorial
- In which we query the world collection and make use of aggregate functions. AGGREGATE Movies Tutorial
- 3 MAPREDUCE Tutorial
- Using MapReduce.
- 4 MAPREDUCE Elite
- MapReduce questions using the Elite Dangerous dataset.
Reference: How to...
- AGGREGATE examples
- FIND
- FIND examples
- MAPREDUCE
- NOSQLZOO: 'elite' dataset schema
- RegEx Pattern Matching