Skip to content

Instantly share code, notes, and snippets.

@ppetermann
Created December 17, 2012 21:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ppetermann/4322400 to your computer and use it in GitHub Desktop.
Save ppetermann/4322400 to your computer and use it in GitHub Desktop.
db.Kingboard_Kill.find().forEach(
function(kill) {
if(typeof kill.killId == 'string') kill.killId = parseInt(kill.killId);
db.Kingboard_Kill.save(kill);
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment