OUR + YOUR SPACE

  • Home
  • Tag
  • MediaLog
  • LocationLog
  • Guestbook
  • Admin
  • Write

2023/11 3

[mongodb] collection

collection 생성 db.createCollection(collection, [options]) db.createCollection(collection, { capped:false, autoIndexId: true }) capped : 컬렉션의 고정 크기 지정하여 초과하면 오래된 데이터 부터 제거 true 로 설정하면 size 값 설정 필요 타입: Boolean 기본값:false size : capped 값이 true 일경우 collection 의 최대 크기 지정(byte) max : collection 에 추가할수 있는 최대 document 값 autoIndexId : _id 필드에 index를 자동생성 기본값: false collection 삭제 db.collection.drop()documen..

graphql + flutter 2023.11.07

[mongodb] index 생성 조회

인덱스 기본 생성 db.collection.createIndex(keys, options) keys string/object 값이 있는 필드 이름을 지정한다. 오름차순: 1, 내림차순: -1 options (unique 등등) { "score": 80, "indexRating": {"index": "tomato", "rate": 7.8} } 단일 키 db.collection.createIndex({ score: 1 }) 복합 키 db.collection.createIndex({ score: 1, index: 1 }) 인덱스 삭제하기 db.collection.dropIndex({index:1})

graphql + flutter 2023.11.07

node.js 앱 재실행 [forever]

forver 시작 # Node.js 애플리케이션을 시작하는 명령어입니다. 이 부분은 'npm run dev' 명령어를 실행하고자 함을 나타냅니다. forever start -c "npm run dev" ./forver 리스트 확인 forever list forver 중지 # forever stop [process list num] forever stop 0

graphql + flutter 2023.11.04
이전
1
다음
더보기
250x250
프로필사진

  • 분류 전체보기 (486)
    • 코틀린+안드로이드 (17)
    • 앱 어플 (8)
    • graphql + flutter (23)
    • python (59)
    • django (11)
    • javascript (24)
    • ES6 (19)
    • react (0)
    • CSS (0)
    • CI4 (56)
    • 시사 유튜브 채널 (267)

Tag

chain, Flutter, 시사, ConversationSummaryBufferMemory, 보수, 안드로이드, LCEL, IOS, ES6, 배포, 진보, 유튜브, 중도, mongodb, 진도, MessagesPlaceholder, ChatPromptTemplate, RAG, javascript, 중보,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2023/11   »
일 월 화 수 목 금 토
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바