'Computer Science' 카테고리의 글 목록 (18 Page) — Archive

Computer Science

Computer Science/Tech Stack

[MongoDB] BSON Types | BSON 데이터형

​BSON Types BSON 데이터형 - MongoDB의 Document를 저장하기 위한 Binary Serialization Format이다. - MongoDB의 Remote Procedure Call에 사용된다. MongoDB BSON Types Type Name Type Number Alias Notes Double 1 "double" String 2 "string" Object 3 "object" Array 4 "array" Binary data 5 "binData" Undefined 6 "undefined" ※ DEPRECATED ObjectId 7 "objectId" Boolean 8 "bool" Date 9 "date" Null 10 "null" Regular Expression 11 "r..

Computer Science/Tech Stack

[MongoDB] MongoDB Shell (mongosh) | 몽고DB 쉘

MongoDB Shell (\(\texttt{mongosh}\)) 몽고DB 쉘 Shell Instructions (쉘 명령어) show databases (=show dbs) - 현재 MongoDB에 생성된 데이터베이스들의 이름과 크기를 출력한다. show collections - 현재 데이터베이스에 생성된 Collection들의 이름을 출력한다. use - 데이터베이스를 선택한다. db.createCollection("") - 현재 데이터베이스에 Collection을 생성한다. - {"ok" : 1} 메시지가 출력되면 Collection이 정상적으로 생성된 것이다. Reference: MongoDB (URL) Reference: MongoDB Documentation (URL)

Computer Science/Tech Stack

[MongoDB] CRUD Instructions | CRUD 명령어

CRUD Instructions CRUD 명령어 (Create - Read - Update - Delete; 생성 - 조회 - 변경 - 삭제) - 데이터에 대한 생성, 조회, 변경, 삭제에 해당되는 명령어들을 살펴본다. (이들 4개 연산은 데이터베이스에서 기초가 되는 연산으로, 관례적으로 "CRUD"라 지칭한다.) Data Create Instructions (데이터 생성 명령어) \(\texttt{insertOne}\) Instruction Prototype db..insertOne( {"":, ...} ) - 하나의 Document를 \(\texttt{}\) Colleciton에 생성(입력)한다. \(\texttt{insertMany}\) Instruction Prototype db..insertMa..

Computer Science/Tech Stack

[MongoDB] MongoDB Preview | 몽고DB 개요

MongoDB Preview 몽고DB 개요 (URL) MongoDB: The Application Data Platform Get your ideas to market faster with an application data platform built on the leading modern database. MongoDB makes working with data easy. www.mongodb.com Mongo DB Settings (몽고DB 설정) * Windows \(\texttt{cmd}\) Commands C:\>net start MongoDB MongoDB Server 서비스를 시작합니다.. MongoDB Server 서비스가 잘 시작되었습니다. C:\>net stop MongoDB Mongo..

Computer Science/Python

[Python] BeautifulSoup Library | BeautifulSoup 라이브러리

BeautifulSoup Library BeautifulSoup 라이브러리 - http를 호출하는데 관련된 기능들을 제공하는 HTML Parser 라이브러리이다. * BeautifulSoup Official Documentation (URL) Beautiful Soup Documentation — Beautiful Soup 4.4.0 documentation Non-pretty printing If you just want a string, with no fancy formatting, you can call unicode() or str() on a BeautifulSoup object, or a Tag within it: str(soup) # ' I linked to example.com ' unic..

Computer Science/Python

[Python] requests Library | requests 라이브러리

requests Library requests 라이브러리 - HTTP를 호출하는데 관련된 기능들을 제공하는 라이브러리이다. - requests 라이브러리는 Web에 대해 아래와 같은 기능들을 제공하고 있다: Keep-Alive & Connection Pooling International Domains and URLs Sessions with Cookie Persistence Browser-style SSL Verification Automatic Content Decoding Basic/Digest Authentication Elegant Key/Value Cookies Automatic Decompression Unicode Response Bodies HTTP(S) Proxy Support Mult..

Computer Science/C & C++

[C++] Fast I/O | 빠른 입출력

Fast Input/Output 빠른 입출력 - C/C++에서 많은 I/O(입출력)이 발생하는 경우에 실행시간을 유의미하게 줄일 수 있는 방법이다. - 주요 언어군에서의 입력 방법에 따른 실행시간 순위는 아래와 같다. (URL) (천만 개의 10,000 이하 자연수가 적힌 파일을 입력받기를 10회 실시하여 소요시간의 평균을 측정하여 순위를 산정) 순위 언어 입력 방법 평균 (sec) 1 C11 mmap 0.043 2 C11 fread 0.0799 3 C11 getchar 0.3496 4 C++17 ios_base::sync_with_stdio(false); cin.tie(NULL); 0.5938 5 C++17 ios_base::sync_with_stdio(false); 0.6348 6 Java Buffe..

Computer Science/Python

[Python] Python Built-in Functions | 파이썬 내장 함수

Python Built-in Functions 파이썬 내장 함수 * python.org - Built-in Functions (URL) Built-in Functions — Python 3.10.2 documentation Built-in Functions The Python interpreter has a number of functions and types built into it that are always available. They are listed here in alphabetical order. abs(x) Return the absolute value of a number. The argument may be an integer, a floating poin docs.python.org ..

lww7438
'Computer Science' 카테고리의 글 목록 (18 Page)