I would like to delete multiple rows at once in Mongoose but I can only think/find of doing this with an each and removing individually.
var arrays = [ [ 560324b994a552efdeb128a2 ],
[ 560324b994a552efdeb128a3 ],
[],
[],
[],
[ 560324b994a552efdeb128a0 ],
[ 560324b994a552efdeb128a1 ],
[] ]
someModel.remove(arrays);
Also if possible I'd like it to remove only the items that have a value, although this is easy to overcome if I need to remove them.