반응형 Update2 ReactJs - Update , Delete기능 구현하기 Update , Delete기능 구현하기 1. Update 구현 App.js import React, { Component } from 'react'; import TOC from "./components/TOC"; import ReadContent from "./components/ReadContent" import Subject from "./components/Subject" import Control from "./components/Control" import CreateContent from "./components/CreateContent" import UpdateContent from "./components/UpdateContent" //UpdateContent.js 추가 연동 impor.. 2021. 1. 4. MySQL - CRUD CRUD INSERT CRUD 중 C인 Create에 속하는 생성기능에 대해서다. INSERT INTO topic (title,description,created,author,profile) VALUES('ORACLEL','ORACLE is...', NOW(),'k0502s_1','developer'); 위와 같은 형태로 데이터 표에 삽입할 수 있다. 위와 같은 형식으로 INSERT하여 데이터를 넣어보았다. INSERT을 실행 한 후 이름이 topic인 데이터 표를 SELECT * FROM topic이라는 명령어로 확인할 수 있었다. 더 원하는 데이터 추가를 같은 방식으로 계속 넣어 보았다. 결국 위와 같은 데이터 테이블이 완성되었다. SELECT CRUD 중 R인 Read의 읽기의 기능에 대한 것이다... 2021. 1. 2. 이전 1 다음 반응형