Added node-modules

This commit is contained in:
Dobie Wollert
2014-09-14 07:04:16 -04:00
parent 663941bf57
commit 6a92348cf5
4870 changed files with 670395 additions and 0 deletions

42
node_modules/mongoose/examples/README.md generated vendored Normal file
View File

@ -0,0 +1,42 @@
This directory contains runnable sample mongoose programs.
To run:
- first install [Node.js](http://nodejs.org/)
- from the command line, execute: `node example.js`, replacing "example.js" with the name of a program.
Goal is to show:
- global schemas
- GeoJSON schemas / use (with crs)
- text search
- storing schemas as json
- lean querires
- statics
- methods and statics on subdocs
- custom types
- querybuilder
- promises
- express + mongoose
- accessing driver collection, db
- connecting to replica sets
- connecting to sharded clusters
- enabling a fail fast mode
- on the fly schemas
- storing files
- map reduce
- aggregation
- advanced hooks
- using $elemMatch to return a subset of an array
- query casting
- upserts
- pagination
- express + mongoose session handling
- group by (use aggregation)
- authentication
- schema migration techniques
- converting documents to plain objects (show transforms)
- how to $unset