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
 
(56 intermediate revisions by 4 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}}
Learn NoSQL using: MongoDB, PyMongo, and Python3.4
+
<div style="min-height:25em">
<div class=q data-lang="py3">
+
==Tutorials: Learn NoSQL in stages==
Show all the data concering France.
+
 
<pre class=def>
+
===MongoDB===
pp.pprint(list(
+
; 1 [[FIND Tutorial|FIND Tutorial]]:Using Find.
    db.world.find({"name":"France"})
+
; 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]])
))
+
; 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>
==Tutorials: Learn NoSQL in stages==
 
; [[FIND basics|0 FIND basics]]:Some examples of common queries.
 
; [[AGGREGATE world|1 AGGREGATE world]]:In which we query the world collection and make use of aggregate functions.
 
; [[MAPREDUCE basics|2 MAPREDUCE basics]]:Using MapReduce.
 
; [[MAPREDUCE elite|3 MAPREDUCE elite]]:MapReduce questions using the Elite Dangerous dataset.
 
  
 
==Reference: How to...==
 
==Reference: How to...==
; [[Pattern Matching (RegEx)|1 Pattern Matching (RegEx)]]:Some pattern matching queries.
+
; [[AGGREGATE examples | AGGREGATE Examples]]
 +
; [[Find|FIND]]
 +
; [[FIND Examples]]
 +
; [[JavaScript: Fundamentals]]
 +
; [[JavaScript: Computed Properties]]
 +
; [[MapReduce | MAPREDUCE]]
 +
; [[Elite Document Structure|NOSQLZOO: 'elite' dataset schema]]
 +
; [[RegEx Pattern Matching]]
 +
 
 
==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