dwinston / mongo-novice-materials

Intro to MongoDB for researchers, using materials data
https://dwinston.github.io/mongo-novice-materials
Other
0 stars 0 forks source link

use a smaller DB, smaller objects and dump results of queries to see what is being returned #10

Closed shreddd closed 8 years ago

shreddd commented 8 years ago

alternately start using print_afew type examples early on.

dwinston commented 8 years ago

Use of mongo shell means results of queries are streamed immediately, i.e. no need to "draw from" a cursor as with pymongo, and only a few results are printed at a time. Also, objects may be easier to inspect with DBQuery.prototype._prettyShell = true (introduced in the sorting topic, but perhaps I'll put it in earlier). Closing for now.