Cookies help us deliver our services. By using our services, you agree to our use of cookies. More information

Difference between revisions of "Main Page"

From NoSQLZoo
Jump to: navigation, search
(26 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<pre class=setup>
+
Learn NoSQL using MongoDB.
#ENCODING
+
<div class="q nonum" data-lang="mongo">
import io
+
  What is the capital of France?
import sys
+
  <pre class="def"><nowiki>db.world.findOne({name: "France"}, {capital: 1});</nowiki></pre>
sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-16')
+
</div>
#MONGO
 
from pymongo import MongoClient
 
client = MongoClient()
 
client.progzoo.authenticate('scott','tiger')
 
db = client['progzoo']
 
#PRETTY
 
import pprint
 
pp = pprint.PrettyPrinter(indent=4)
 
</pre>
 
 
{{TopTenTips}}
 
{{TopTenTips}}
 
<div class="q nonum" data-lang="py3">
 
What is the capital of France?
 
<pre class=def>
 
print( db.world.find_one({"name":"France"},{"capital":1}) )
 
</pre>
 
</div>
 
 
 
<div style="min-height:25em">
 
<div style="min-height:25em">
Learn NoSQL using: MongoDB, PyMongo, and Python3.4
 
 
==Tutorials: Learn NoSQL in stages==
 
==Tutorials: Learn NoSQL in stages==
; [[FIND basics|x FIND basics]]:Using Find.
+
; 1 [[FIND Tutorial|FIND Tutorial]]:Using Find.
; [[AGGREGATE world|x AGGREGATE world]]:In which we query the world collection and make use of aggregate functions.
+
; 2 [[AGGREGATE Tutorial|AGGREGATE Tutorial]]:In which we query the world collection and make use of aggregate functions. (extra: [[AGGREGATE Movies Tutorial|AGGREGATE Movies Tutorial]])
; [[MAPREDUCE basics|x MAPREDUCE basics]]:Using MapReduce.
+
; 3 [[MAPREDUCE Tutorial]]:Using MapReduce.
; [[MAPREDUCE elite|x MAPREDUCE elite]]:MapReduce questions using the Elite Dangerous dataset.
+
; 4 [[MAPREDUCE Elite]]:MapReduce questions using the Elite Dangerous dataset.
 +
; 5 [https://goo.gl/forms/ep8rBbCQSa381ic82 Survey]:Do you have thoughts about this website that you would like to share? Help improve NoSQLZoo!
 
</div>
 
</div>
 +
 
==Reference: How to...==
 
==Reference: How to...==
; [[AGGREGATE examples]]
+
; [[AGGREGATE examples | AGGREGATE Examples]]
 
; [[Find|FIND]]
 
; [[Find|FIND]]
; [[FIND examples]]
+
; [[FIND Examples]]
 +
; [[JavaScript: Fundamentals]]
 +
; [[JavaScript: Computed Properties]]
 
; [[MapReduce | MAPREDUCE]]
 
; [[MapReduce | MAPREDUCE]]
 
; [[Elite Document Structure|NOSQLZOO: 'elite' dataset schema]]
 
; [[Elite Document Structure|NOSQLZOO: 'elite' dataset schema]]
Line 39: Line 25:
  
 
==MongoDB resources==
 
==MongoDB resources==
;Manuals: [http://docs.mongodb.org/manual/ MongoDB Documentaion] [https://github.com/mongodb/docs MongoDB Documentation GitHub]<br/>[https://docs.python.org/3/ Python 3 Documentaion] [http://api.mongodb.org/python/current/ PyMongo API Documentation]<br/> Karl Seguin's [http://openmymind.net/mongodb.pdf The Little MongoDB Book]
+
;Manuals: [http://docs.mongodb.org/manual/ MongoDB Documentation] [https://github.com/mongodb/docs MongoDB Documentation GitHub]<br/>[https://docs.python.org/3/ Python 3 Documentation] [http://api.mongodb.org/python/current/ PyMongo API Documentation]<br/> Karl Seguin's [http://openmymind.net/mongodb.pdf The Little MongoDB Book]
 +
 
 +
{{Acknowledgements}}

Revision as of 18:41, 8 November 2018

Learn NoSQL using MongoDB.

 What is the capital of France?
db.world.findOne({name: "France"}, {capital: 1});

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. (extra: AGGREGATE Movies Tutorial)
3 MAPREDUCE Tutorial
Using MapReduce.
4 MAPREDUCE Elite
MapReduce questions using the Elite Dangerous dataset.
5 Survey
Do you have thoughts about this website that you would like to share? Help improve NoSQLZoo!

Reference: How to...

AGGREGATE Examples
FIND
FIND Examples
JavaScript: Fundamentals
JavaScript: Computed Properties
MAPREDUCE
NOSQLZOO: 'elite' dataset schema
RegEx Pattern Matching

MongoDB resources

Manuals
MongoDB Documentation MongoDB Documentation GitHub
Python 3 Documentation PyMongo API Documentation
Karl Seguin's The Little MongoDB Book

Acknowledgements

NoSQLZoo is made possible by the following open-source technologies:

jQuery JSHint CodeMirror MediaWiki MariaDB