automategreen/dynamoose — pull request #9 by khamasaki (2014-07-31 21:16:22+00:00)
Title: Overwrite Option and Middleware

Hi, I finally got around to implementing a couple of things. The first commit adds back the overwrite option, which defaults to false on a create and true on an update. This is potentially breaking if you were relying on create to overwrite. You would have to pass { overwrite: true } to get the same behavior.

The second commit adds mongoose like hooks to the model.