Skip to content
Snippets Groups Projects
Commit d50672a6 authored by 다인 김's avatar 다인 김
Browse files

Delete addVideoDB.js

parent 048a6fbd
No related branches found
No related tags found
1 merge request!44Feat/router
//운동 영상 구조
const Video = require('../models/video');
function addVideoInfo(infoList) {
Video.insertMany(infoList, { ordered: false })
.then(docs => {
console.log('DB에 성공적으로 추가되었습니다 : ');
})
.catch(err => {
console.error('DB에 추가하는 도중 오류가 발생하였습니다 : ');
});
}
modulse.export = addVideoInfo;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment