Created
August 4, 2013 21:49
-
-
Save wbashir/6152093 to your computer and use it in GitHub Desktop.
Remove S3 document when user is deleted
This file contains 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
collection.find().observe({ | |
removed: function (oldDoc) { | |
// delete oldDoc._id from S3 | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment