[Node.js] Dao에서 내가 원하는 결과 외에 다른 데이터가 나오는 경우
·
Server Developer/Node.js
Node.js 학습 후 정리한 포스팅 입니다. 이번 포스팅에서는 Node.js에 대해 학습합니다. I) 문제 Express를 통해 API 설계 중 Dao에서 내가 원하는 결과 외에 다른 데이터가 나왔다. // 2 - 5 책 모임의 소속 회원의 이름, 상태메시지, 현재 상태를 조회함 module.exports.clubMember = async (connection, [club_id]) =>{ const clubSearchQuery =`SELECT UserInfo.user_id, UserInfo.now_reading, UserInfo.profile_message FROM UserInfo LEFT JOIN ClubMember ON UserInfo.user_id = ClubMember.user_id LEFT J..