Difference between revisions of "Main Page"
From NoSQLZoo
Line 25: | Line 25: | ||
==Tutorials: Learn NoSQL in stages== | ==Tutorials: Learn NoSQL in stages== | ||
; [[FIND basics|0 FIND basics]]:Some examples of common queries. | ; [[FIND basics|0 FIND basics]]:Some examples of common queries. | ||
− | + | ; [[AGGREGATE basics|1 AGGREGATE basics]]:Examples of the aggregation framework. | |
− | ; [[AGGREGATE basics| | + | ; [[AGGREGATE world|2 AGGREGATE world]]:In which we query the world collection and make use of aggregate functions. |
− | ; [[AGGREGATE world| | + | ; [[MAPREDUCE basics|3 MAPREDUCE basics]]:Using MapReduce. |
− | ; [[MAPREDUCE basics| | + | ; [[MAPREDUCE elite|4 MAPREDUCE elite]]:MapReduce questions using the Elite Dangerous dataset. |
− | ; [[MAPREDUCE elite| | ||
==Reference: How to...== | ==Reference: How to...== | ||
− | + | ; [[Pattern Matching(Regex)|1 Pattern Matching(Regex)]]:Some pattern matching queries. | |
==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 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] |
Revision as of 10:25, 27 July 2015
#ENCODING import io import sys sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-16') #MONGO from pymongo import MongoClient client = MongoClient() client.progzoo.authenticate('scott','tiger') db = client['progzoo'] #PRETTY import pprint pp = pprint.PrettyPrinter(indent=4)
Learn NoSQL using: MongoDB, PyMongo, and Python3.4
Show all the data concering France.
pp.pprint(list( db.world.find({"name":"France"}) ))
Tutorials: Learn NoSQL in stages
- 0 FIND basics
- Some examples of common queries.
- 1 AGGREGATE basics
- Examples of the aggregation framework.
- 2 AGGREGATE world
- In which we query the world collection and make use of aggregate functions.
- 3 MAPREDUCE basics
- Using MapReduce.
- 4 MAPREDUCE elite
- MapReduce questions using the Elite Dangerous dataset.
Reference: How to...
- 1 Pattern Matching(Regex)
- Some pattern matching queries.