These are chat archives for Automattic/mongoose

27th
Dec 2016
Rob Lao
@viewplatgh
Dec 27 2016 08:39
mongoose.model('Config', ConfigSchema); will define collection name 'configs', how can I have another name like 'config' without the 's'
David Stone
@dcstone09
Dec 27 2016 19:28
Hello, whats the best way to unit test a pre save hook in your Mongoose schema?