drudge / mongoose-timestamp

Adds createdAt and updatedAt date attributes that get auto-assigned to the most recent create/update timestamp
Other
308 stars 64 forks source link

ignorePaths option #30

Closed theo-lubert closed 8 years ago

theo-lubert commented 9 years ago

It can be useful to ignore internal properties modification (ex: lastSeenAt) when it is not relevant, if not wrong, to update "updatedAt".

drudge commented 8 years ago

@theo-lubert if you'd like to update the PR so it'll merge cleanly, I'd be happy to merge this in.