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
 
(30 intermediate revisions by 3 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;</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 style="min-height:25em">
 +
==Tutorials: Learn NoSQL in stages==
  
<div class="q nonum" data-lang="py3" data-width="80">
+
===MongoDB===
What is the capital of France?
+
; 1 [[FIND Tutorial|FIND Tutorial]]:Using Find.
<pre class=def>
+
; 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]])
print( db.world.find_one({"name":"France"},{"capital":1}) )
+
; 3 [[MAPREDUCE Tutorial]]:Using MapReduce.
</pre>
+
; 4 [[MAPREDUCE Elite]]:MapReduce questions using the Elite Dangerous dataset.
 +
===Neo4j===
 +
; 1 [[Space_Race/MATCH_Tutorial|MATCH Tutorial]]: Using MATCH
 +
; 2 [[Space_Race/Relationships_Tutorial|Relationships Tutorial]]: Understanding Relationships
 
</div>
 
</div>
  
<div style="min-height:25em">
 
Learn NoSQL using: MongoDB, PyMongo, and Python3.4
 
==Tutorials: Learn NoSQL in stages==
 
; [[FIND basics|x FIND basics]]:Using Find.
 
; [[AGGREGATE world|x AGGREGATE world]]:In which we query the world collection and make use of aggregate functions.
 
; [[MAPREDUCE basics|x MAPREDUCE basics]]:Using MapReduce.
 
; [[MAPREDUCE elite|x MAPREDUCE elite]]:MapReduce questions using the Elite Dangerous dataset.
 
</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 29:
  
 
==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}}

Latest revision as of 20:30, 1 April 2022

Learn NoSQL using MongoDB.

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

Tutorials: Learn NoSQL in stages

MongoDB

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.

Neo4j

1 MATCH Tutorial
Using MATCH
2 Relationships Tutorial
Understanding Relationships

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