Skip to content

zesk06/scores

Repository files navigation

scores

Build status

Build Status codecov.io

cheat

heroku

enable builpacks on heroku:

heroku buildpacks:add heroku/python
heroku buildpacks:add heroku/nodejs

MONGO

Common operations

# mass player rename
# $ is replaced by the element that match the query
db.plays.updateMany({players: { $elemMatch: { login: 'from_name'}}}, {$set: {"players.$.login":"to_name"}})