웹 개발/Node.js - MySQL

14.3. 정리정돈 - topic 3

코오올라 2021. 1. 18. 02:38

[update]

 

main.js
topic.js

저장하고 update를 실행시켜보면 queryData가 정이되지 않았다고 뜬다.

topic.js에 page 모듈 부분에서 21번, 22번 줄의 내용을 복사해 update 모듈에 붙여넣어준다.

 

----------------------[update_process]---------------------------------------------------------

 

topic.js
main.js

----------------------[delete_process]---------------------------------------------

topic.js
main.js

 

 

 

 

 

---------------------------------------------------------------------------------------------------------------------

 

main.js를 정리하고 나니 한눈에 들어온다.