본문 바로가기 메뉴 바로가기

데브포유

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

데브포유

검색하기 폼
  • ※ 데브포유 둘러보기 (1227)
    • Dev4u Life (675)
      • 일상 (198)
      • 여행 (25)
      • 투자 (6)
      • Generative AI (11)
    • Database (339)
      • ClickHouse (5)
      • CockroachDB (19)
      • MariaDB (14)
      • mongoDB (63)
      • Oracle (145)
      • PostgreSQL(EDB) (3)
      • Presto (14)
      • SAP IQ (Sybase) (16)
      • yugabyteDB (7)
      • ETC (53)
    • Dev4u S/W (11)
      • Android App (3)
      • iPhone App (1)
      • WASMonitor (3)
      • ZtermManager (1)
    • Developer (198)
      • Android (7)
      • C & C++ (12)
      • Data Mining (4)
      • JFreeChart (4)
      • iPhone (4)
      • Java, Kotlin (35)
      • Node.js (2)
      • Python (15)
      • Rust (8)
      • Spark (10)
      • Unix Shell (12)
      • Util (31)
      • Web (16)
      • Weka (4)
      • ETC (34)
    • === E.N.D === (0)
  • 방명록

Database/mongoDB (63)
[MongoDB] Query Selector & Operator

Query SelectorsComparisonFor comparison of different BSON type values, see the specified BSON comparison order.NameDescription$eqMatches values that are equal to a specified value.$gtMatches values that are greater than a specified value.$gteMatches values that are greater than or equal to a specified value.$ltMatches values that are less than a specified value.$lteMatches values that are less t..

Database/mongoDB 2017. 3. 21. 23:13
[MongoDB] SQL vs Aggregation Framework

SQL Terms, Functions, and ConceptsMongoDB Aggregation OperatorsWHERE$matchGROUP BY$groupHAVING$matchSELECT$projectORDER BY$sortLIMIT$limitSUM()$sumCOUNT()$sumjoin$lookupNew in version 3.2.ExamplesThe following table presents a quick reference of SQL aggregation statements and the corresponding MongoDB statements. The examples in the table assume the following conditions:The SQL examples assume t..

Database/mongoDB 2017. 3. 21. 23:10
[MongoDB] Aggregate FrameWork

# Aggregation FrameWrok db.employees.find().pretty(); db.employees.aggregate({$match : { $and: [{deptno: 10},{sal : {$gte: 500, $lte:3000}}]}},{$match : { $or: [{job:"CLERK"},{job:"SALESMAN"}]}},{$project :{ _id : 0, empno : 1, ename : {$toLower :"$ename"}, substr_nm : {$substr: ["$ename",1,2]} }}).pretty() >> comm필드를 서브다큐먼트로 저장db.employees.aggregate({$match : {deptno:30}},{$project: {_id : 0,em..

Database/mongoDB 2017. 3. 21. 17:06
[MongoDB] 데이터타입 예제

# 데이터 타입# objectid는 24자리, 사용자가 직접 지정하는 것은 권장하지 않음. p = { "_id" : ObjectId("201703210012345678901201"), "v_date" : ISODate("2017-03-21T15:00:00"),"v_bin" : BinData(0,"2222"),"v_char" : "moonsun","v_num" : 1234567,"v_arr" : ["www.naver.com","www.google.com"],"v_bignum" : NumberLong(12345)} db.data_att.save(p)db.data_att.find() - EOF -

Database/mongoDB 2017. 3. 21. 15:21
[MongoDB] 데이터 입력/수정/삭제

# 데이터 입력/수정/삭제 > use tset> m={ ename : "smith"}> db.things.save(m)> db.things.insert({empno:1101, ename:"king"})> db.things.find()> for(var n=1103; n db.things.find({empno:1101})> db.things.update({empno:1101},{$set:{ename:"test"}})> db.things.remove({})> db.things.drop() -EOF -

Database/mongoDB 2017. 3. 21. 15:06
[MongoDB] 처음 시작하기...

>>실행위치시스템환경변수에 추가C:\Program Files\MongoDB\Server\3.2\bin >>데이터파일 위치C:\MONGODB\TEST >> 서버 32bit 실행하기.. (journal 과 스토리지 옵션은 32bit만 필요)C:\Program Files\MongoDB\Server\3.2\bin>mongod --journal --dbpath C:\MONGODB\TEST --storageEngine mmapv1 >>클라이언트 접속mongo localhost:27017 >>db보기show dbs >>db 변경use test >>db 종료use admindb.shutdownSerer() >> 로그아웃db.logout() >> collection 생성db.createCollection("emp", {..

Database/mongoDB 2017. 3. 21. 14:34
MongoDB 소스 있는 곳

내용은 잘 몰라도 소스한번 쓱 보는것도 많은 도움이 되겠죠. URL = http://dl.mongodb.org/dl/src/ 윈도우 버전을 다운로드 받아서 MongoDB를 실행해 봤다. 별도의 설치과정은 필요없고 적당한 곳에 압축을 푼뒤 실행하면 되더군요. NoSQL이라지만 정말 문법이 낯설더군요. 심심할때마다 틈틈이 연습해야 할 듯... 1. 서버 실행화면 2. 클라이언트 실행화면

Database/mongoDB 2011. 6. 23. 13:24
이전 1 ··· 5 6 7 8 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
  • ORACLE BASE
  • Oracle Tutorial
  • The Logical Optimizer
  • 데이터베이스-모델링(예제)
  • 한국 러스트 사용자 그룹
  • Ruste By Exsample
  • SQL튜닝
  • 나이파이 커스텀 프로세서
TAG
  • 코라나 19
  • 유가바이트디비
  • JMW 헤어드라이기기
  • 배당급
  • 파나소닉 비데 DL-EH10KWS
  • GKRS
  • 남설 팔찌
  • 화분벌레
  • 솔리드 쿨론
  • weka
  • 매직 트랙패드2
  • yugabyteDB
  • 홈 오피스
  • 증권정보포털
  • 빈센트 반 고흐
  • 오미크론
  • 별이 빚나는 밤
  • 브리다 정수기
  • 로니카 BCS
  • 톡토기
  • 르세라핌
  • 루미큐브 종류
  • Pixel Pals
  • VARIDESK
  • node.js
  • 별잉 빛나는 밤
  • Life Chair
  • Sybase IQ
  • 고체 향수
  • 카카오 에드
more
«   2025/05   »
일 월 화 수 목 금 토
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 31
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바