강의

멘토링

로드맵

Inflearn Community Q&A

nextagri's profile image
nextagri

asked

[Renewed] Node.js Textbook - From Basics to Project Practice

Doing CRUD operations

insert into nodejs.users 관련질문

Written on

·

197

0

안녕하세요. insert문 쿼리하다가 궁금해서 질문드렸습니다.

 nodejs.users(=스키마.테이블명)으로 값을 삽입하셨는데,

 insert into users~ 만으로도 테이블에 값이 삽입이 되는 것을 확인했습니다. 

 어떤차이가 있는 걸까요?

좀더 확실하게 쿼리를 삽입하기 위해 스키마명을 넣어주는 것인가요?

Sequelizenodejsmysqlmongodb

Answer 1

1

zerocho님의 프로필 이미지
zerocho
Instructor

나중에 하나의 디비 안에서 스키마를 여러 개 쓸 때가 있습니다. 그 때는 구별해주셔야 합니다.

nextagri's profile image
nextagri

asked

Ask a question