카테고리 없음
mongodb - data 추가하기
Websterking
2019. 9. 25. 15:13
반응형
model > create
collection > insert
insert가 퍼포먼스적으로 유리하다는 말이 있다.
How do I get the objectID after I save an object in Mongoose?
var n = new Chat(); n.name = "chat room"; n.save(function(){ //console.log(THE OBJECT ID that I just saved); }); I want to console.log the object id of the object I just saved. How do I do tha...
stackoverflow.com
웹사이트 개발 / 홈페이지 제작 / android앱 개발 / ios 앱 개발 / server / client / aws / fullstack / buisness partner / 외주 / 용역
https://open.kakao.com/o/sNETgUJb
반응형