$push mongoose multiple code example
Example: mongoose update array push multiple
Kitten.update(
{ name: 'fluffy'},
{
$push: {
values: {
$each: [2, 3]
}
}
}
)
.then(result => {
console.log(result)
})
.catch(err => {
console.error(err)
})