Created
November 27, 2014 03:06
-
-
Save aaronthorp/98e1018f753b38b7b62d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ThingyCollection = new Meteor.Collection("thingy", { | |
transform: function (doc) { | |
if (doc.thingy) | |
doc.thingy = doc.thingy.toUpperCase(); | |
return doc; | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment