forked from bergman/foos
chinnurtb/foos
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Dependencies MongoDB - http://www.mongodb.org/ sleepy.mongoose - https://github.com/kchodorow/sleepy.mongoose MongoDB indexes use foos db.player.ensureIndex({name:1},{unique:true}); Interesting queries // count goals per position var map = function() { for (s in this.scores) emit(this.scores[s].position.substr(1),1); } var reduce = function(key, values) { return values.length; } db.game.mapReduce(map, reduce, {out:{inline:1}});
About
Foosball statistics project
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published