메모장

  • 홈
  • 태그
  • 방명록

Model 1

Schema / Model

Model Schema를 감싸주는 역할 스키마를 통해서 만드는 인스턴스 Schema 데이터베이스의 구조와 제약 조건에 관한 전반적인 명세를 기술한 메타데이터의 집합 *여기서 만드는 건 웹서버가 데이터베이스에 들어있는 문서들을 객체화하여 사용 할 수 있도록 스키마를 설정 const mongoose = requier('mongoose'); const userSchema = mongoose.Schema({ //유저정보를 define하는 스키마 name: { type: String, maxlength: 50 }, email: { type: String, trim: true, unique: 1 }, password: { type: String, minlength: 5, }, role: { type: Number,..

Frontend/react 2022.06.20
이전
1
다음
더보기
프로필사진

  • 분류 전체보기 (303)
    • Frontend (107)
      • javaScript (31)
      • react (30)
      • vue3 (25)
      • angularjs (2)
      • jquery (4)
      • html (4)
      • css (3)
      • HTTP 통신 (8)
    • gridLib (24)
      • auiGrid (2)
      • agGrid (7)
      • jqGrid (15)
    • Backend (69)
      • JAVA (25)
      • spring (Boot) (29)
      • spring cloud (MSA) (10)
      • tomcat (2)
      • API (3)
    • DB (25)
      • 데이터 관리 (5)
      • RDBMS (16)
      • NoSQL (4)
    • python (2)
    • study (43)
      • 클라우드&쿠버네티스 (7)
      • 보안 (6)
      • 알고리즘 문제 풀이 (28)
      • 네트워크 (2)
    • tool (4)
      • git (5)
    • error (13)

Tag

mybatis, KINX, 프로그래머스, Spring Security, error, 백준, JWT, dfs bfs, vue emit, MSA, softeer, redis, 프로그래머스 dfs bfs, dfs, JavaScript, jqgrid, Python, 2024 데브크루, BFS, 프로그래머스 정렬,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

Copyright © Kakao Corp. All rights reserved.

티스토리툴바