지원되는 몽고DB API, 오퍼레이션, 데이터 타입 - Amazon DocumentDB

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

지원되는 몽고DB API, 오퍼레이션, 데이터 타입

Amazon DocumentDB(MongoDB 호환)은 MongoDB 워크로드를 지원하는 빠르고, 확장 가능하며, 가용성이 높은 완전관리형 문서 데이터베이스 서비스입니다. Amazon DocumentDB는 MongoDB 3.6 및 5.0 API와 호환됩니다. 이 단원에서는 지원되는 기능에 대해 설명합니다. MongoDB API 및 드라이버 사용에 대한 지원은 MongoDB 커뮤니티 포럼을 참조하십시오. Amazon DocumentDB 서비스를 사용하여 지원을 받으려면 해당 지원 팀에 문의하십시오. AWS Amazon DocumentDB와 MongoDB 간의 기능적 차이는 기능적 차이: Amazon DocumentDB 및 MongoDB(을)를 참조하세요.

내부 전용이거나 완전 관리형 서비스에 해당되지 않는 MongoDB 명령 및 연산자는 지원되지 않으며, 지원 기능 목록에도 포함되지 않습니다.

출시 이후 50개 이상의 기능을 더 추가했으며 고객이 원하는 기능을 제공하기 위해 앞으로도 계속 노력할 것입니다. 최신 출시에 대한 자세한 내용은 Amazon DocumentDB 공지 사항을 참조하십시오.

지원되지 않는 기능 중 구축을 원하는 기능이 있는 경우, 계정 ID, 요청된 기능, 사용 사례를 포함한 이메일을 Amazon DocumentDB 서비스 팀에 보내 알려주십시오.

데이터베이스 명령

관리 명령

Command 3.6 4.0 5.0 엘라스틱 클러스터

제한 컬렉션

아니요

아니요

아니요

아니요

cloneCollectionAs제한 있음

아니요

아니요

아니요

아니요

collMod

부분

부분

부분

부분

콜모드: expireAfterSeconds

convertToCapped

아니요

아니요

아니요

아니요

copydb

아니요

아니요

아니요

아니요

create

createView

아니요

아니요

아니요

아니요

createIndexes

currentOp

drop

dropDatabase

dropIndexes

filemd5

아니요

아니요

아니요

아니요

killCursors

killOp

listCollections*

listDatabases

listIndexes

reIndex

아니요

아니요

아니요

아니요

renameCollection

아니요

* 필터 옵션의 type 키는 지원되지 않습니다.

집계

Command 3.6 4.0 5.0 엘라스틱 클러스터

aggregate

count

distinct

mapReduce

아니요

아니요

아니요

아니요

인증

Command 3.6 4.0 5.0 엘라스틱 클러스터

authenticate

로그아웃

진단 명령

Command 3.6 4.0 5.0 엘라스틱 클러스터

buildInfo

collStats

connPoolStats

아니요

아니요

아니요

아니요

connectionStatus

dataSize

dbHash

아니요

아니요

아니요

아니요

dbStats

explain

explain: executionStats

기능

아니요

아니요

아니요

아니요

hostInfo

listCommands

profiler

아니요

serverStatus

top

쿼리 및 쓰기 작업

Command 3.6 4.0 5.0 엘라스틱 클러스터

Change streams

아니요

delete

find

findAndModify

getLastError

아니요

아니요

아니요

아니요

getMore

getPrevError

아니요

아니요

아니요

아니요

GridFS

아니요

아니요

아니요

아니요

삽입

parallelCollectionScan

아니요

아니요

아니요

아니요

resetError

아니요

아니요

아니요

아니요

업데이트

ReplaceOne

역할 관리 명령

Command 3.6 4.0 5.0 엘라스틱 클러스터

createRole

아니요

dropAllRolesFromDatabase

아니요

dropRole

아니요

grantRolesTo역할

아니요

revokeRolesFrom역할

아니요

revokePrivilegesFrom역할

아니요

rolesInfo

아니요

updateRole

아니요

세션 명령

Command 3.6 4.0 5.0 엘라스틱 클러스터

abortTransaction

아니요

아니요

commitTransaction

아니요

아니요

endSessions

아니요

아니요

아니요

아니요

killAllSessions

아니요

아니요

killAllSessionsByPattern

아니요

아니요

아니요

아니요

killSessions

아니요

아니요

refreshSessions

아니요

아니요

아니요

아니요

startSession

아니요

아니요

사용자 관리

Command 3.6 4.0 5.0 엘라스틱 클러스터

createUser

dropAllUsersFromDatabase

dropUser

grantRolesTo사용자

revokeRolesFrom사용자

updateUser

사용자 정보

샤딩 명령

Command 엘라스틱 클러스터

abortReshardCollection

아니요

addShard

아니요

addShardTo존

아니요

balancerCollectionStatus

아니요

balancerStart

아니요

balancerStatus

아니요

balancerStop

아니요

checkShardingIndex

아니요

clearJumboFlag

아니요

cleanupOrphaned

아니요

cleanupReshardCollection

아니요

commitReshardCollection

아니요

enableSharding

flushRouterConfig

아니요

getShardMap

아니요

getShardVersion

아니요

isdbgrid

아니요

listShards

아니요

medianKey

아니요

moveChunk

아니요

movePrimary

아니요

mergeChunks

아니요

refineCollectionShard키

아니요

removeShard

아니요

removeShardFrom존

아니요

reshardCollection

아니요

setAllowMigrations

아니요

setShardVersion

아니요

shardCollection

shardingState

아니요

split

아니요

splitVector

아니요

unsetSharding

아니요

updateZoneKey범위

아니요

쿼리 및 프로젝션 연산자

배열 연산자

Command 3.6 4.0 5.0 엘라스틱 클러스터

$all

$elemMatch

$size

비트별 연산자

Command 3.6 4.0 5.0 엘라스틱 클러스터

$bitsAllSet

$bitsAnySet

$bitsAllClear

$bitsAnyClear

주석 연산자

Command 3.6 4.0 5.0 엘라스틱 클러스터

$comment

비교 연산자

Command 3.6 4.0 5.0 엘라스틱 클러스터

$eq

$gt

$gte

$in

$lt

$lte

$ne

$nin

요소 연산자

Command 3.6 4.0 5.0 엘라스틱 클러스터

$exists

$type

평가 쿼리 연산자

Command 3.6 4.0 5.0 엘라스틱 클러스터

$expr

아니요

아니요

$jsonSchema

아니요

아니요

$mod

$regex

$text

아니요

아니요

아니요

$where

아니요

아니요

아니요

아니요

논리 연산자

Command 3.6 4.0 5.0 엘라스틱 클러스터

$and

$nor

$not

$or

프로젝션 연산자

Command 3.6 4.0 5.0 엘라스틱 클러스터

$

$elemMatch

$meta

아니요

아니요

아니요

$slice

연산자 업데이트

배열 연산자

Command 3.6 4.0 5.0 엘라스틱 클러스터

$

$[]

$[<identifier>]

$addToSet

$pop

$pullAll

$pull

$push

비트별 연산자

Command 3.6 4.0 5.0 엘라스틱 클러스터

$bit

필드 연산자

연산자 3.6 4.0 5.0 엘라스틱 클러스터

$currentDate

$inc

$max

$min

$mul

$rename

$set

$setOnInsert

$unset

수정자 업데이트

연산자 3.6 4.0 5.0 엘라스틱 클러스터

$each

$position

$slice

$sort

지리 공간

지오메트리 지정자

쿼리 선택기 3.6 4.0 5.0 엘라스틱 클러스터

$box

아니요

아니요

아니요

아니요

$center

아니요

아니요

아니요

아니요

$centerSphere

아니요

아니요

아니요

아니요

$geometry

$maxDistance

$minDistance

$nearSphere

$polygon

아니요

아니요

아니요

아니요

$uniqueDocs

아니요

아니요

아니요

아니요

쿼리 셀렉터

Command 3.6 4.0 5.0 엘라스틱 클러스터

$geoIntersects

$geoWithin

$near

아니요

아니요

아니요

아니요

$nearSphere

$polygon

아니요

아니요

아니요

아니요

$uniqueDocs

아니요

아니요

아니요

아니요

커서 메서드

Command 3.6 4.0 5.0 엘라스틱 클러스터

cursor.batchSize()

cursor.close()

cursor.collation()

아니요

아니요

아니요

아니요

cursor.comment()

cursor.count()

cursor.explain()

아니요

cursor.forEach()

cursor.hasNext()

cursor.hint()

예*

cursor.isClosed()

cursor.isExhausted()

아니요

cursor.itcount()

아니요

cursor.limit()

아니요

cursor.map()

아니요

cursor.max()

아니요

아니요

아니요

아니요

cursor.maxScan()

아니요

cursor.maxTimeMS()

아니요

cursor.min()

아니요

아니요

아니요

아니요

cursor.next()

커서. noCursorTimeout()

아니요

아니요

아니요

아니요

커서. objsLeftInBatch ()

아니요

cursor.pretty()

아니요

cursor.readConcern()

아니요

cursor.readPref()

아니요

cursor.returnKey()

아니요

아니요

아니요

아니요

커서. showRecordId()

아니요

아니요

아니요

아니요

cursor.size()

아니요

cursor.skip()

아니요

cursor.sort()

아니요

cursor.tailable()

아니요

아니요

아니요

아니요

cursor.toArray()

아니요

* hint 인덱스는 인덱스 표현식과 함께 지원됩니다. 예: db.foo.find().hint({x:1}).

집계 파이프라인 연산자

어큐뮬레이터 표현식

표현식 3.6 4.0 5.0 엘라스틱 클러스터

$accumulator

-

-

아니요

아니요

$addToSet

$avg

$count

-

-

아니요

아니요

$first

$last

$max

$min

$push

$stdDevPop

아니요

아니요

아니요

아니요

$stdDevSamp

아니요

아니요

아니요

아니요

$sum

산술 연산자

Command 3.6 4.0 5.0 엘라스틱 클러스터

$abs

$add

$ceil

아니요

$divide

$exp

아니요

$floor

아니요

$ln

아니요

$log

아니요

$log10

아니요

$mod

$multiply

$pow

아니요

아니요

아니요

아니요

$round

-

-

아니요

아니요

$sqrt

아니요

$subtract

$trunc

아니요

아니요

아니요

아니요

배열 연산자

Command 3.6 4.0 5.0 엘라스틱 클러스터

$arrayElemAt

$arrayToObject

$concatArrays

$filter

$first

-

-

아니요

아니요

$in

$indexOfArray

$isArray

$last

-

-

아니요

아니요

$objectToArray

$range

$reverseArray

$reduce

$size

$slice

$zip

부울 연산

Command 3.6 4.0 5.0 엘라스틱 클러스터

$and

$not

$or

비교 연산자

Command 3.6 4.0 5.0 엘라스틱 클러스터

$cmp

$eq

$gt

$gte

$lt

$lte

$ne

조건부 표현식 연산자

Command 3.6 4.0 5.0 엘라스틱 클러스터

$cond

$ifNull

$switch

아니요

아니요

데이터 유형 연산자

Command 3.6 4.0 5.0 엘라스틱 클러스터

$type

데이터 크기 연산자

Command 3.6 4.0 5.0 엘라스틱 클러스터

$binarySize

-

-

아니요

아니요

$bsonSize

-

-

아니요

아니요

날짜 연산자

Command 3.6 4.0 5.0 엘라스틱 클러스터

$dateAdd

아니요

아니요

$dateDiff

-

-

아니요

아니요

$dateFromParts

아니요

아니요

아니요

아니요

$dateFromString

$dateSubtract

아니요

아니요

$dateToParts

아니요

아니요

아니요

아니요

$dateToString

$데이트 트렁크

-

-

아니요

아니요

$dayOfMonth

$dayOfWeek

$dayOfYear

$hour

$ 위크 isoDayOf

$isoWeek

$isoWeekYear

$millisecond

$minute

$month

$second

$week

$year

리터럴 연산자

Command 3.6 4.0 5.0 엘라스틱 클러스터

$literal

병합 연산자

Command 3.6 4.0 5.0 엘라스틱 클러스터

$mergeObjects

자연 연산자

Command 3.6 4.0 5.0 엘라스틱 클러스터

$natural

집합 연산자

Command 3.6 4.0 5.0 엘라스틱 클러스터

$allElementsTrue

아니요

$anyElementTrue

아니요

$setDifference

아니요

$setEquals

$setIntersection

$setIsSubset

$setUnion

$setWindowFields

아니요

아니요

아니요

아니요

스테이지 오퍼레이터

Command 3.6 4.0 5.0 엘라스틱 클러스터

$addFields

$bucket

아니요

아니요

아니요

아니요

$bucketAuto

아니요

아니요

아니요

아니요

$collStats

아니요

아니요

아니요

아니요

$count

$currentOp

$facet

아니요

아니요

아니요

아니요

$geoNear

$graphLookup

아니요

아니요

아니요

아니요

$group

$indexStats

$limit

$listLocalSessions

아니요

아니요

아니요

아니요

$listSessions

아니요

아니요

아니요

아니요

$lookup

$match

$merge

-

-

아니요

아니요

$out

아니요

$planCacheStats

-

-

아니요

아니요

$project

$redact

$replaceRoot

$sample

$setWindowFields

-

-

아니요

아니요

$skip

$sort

$sortByCount

아니요

아니요

아니요

아니요

$unionWith

-

-

아니요

아니요

$unset

-

-

아니요

아니요

$unwind

문자열 연산자

Command 3.6 4.0 5.0 엘라스틱 클러스터

$concat

$indexOfBytes

$indexOfCP

$ltrim

아니요

아니요

아니요

아니요

$regxFind

-

-

아니요

아니요

$regexFindAll

-

-

아니요

아니요

$regexMatch

-

-

아니요

아니요

$replaceAll

-

-

아니요

아니요

$replaceOne

-

-

아니요

아니요

$rtrim

아니요

아니요

아니요

아니요

$split

$strcasecmp

$strLenBytes

$strLenCP

$substr

$substrBytes

$substrCP

$toLower

$toUpper

$trim

아니요

아니요

아니요

아니요

시스템 변수

Command 3.6 4.0 5.0 엘라스틱 클러스터

$$CURRENT

아니요

아니요

아니요

아니요

$$DESCEND

$$KEEP

$$PRUNE

$$REMOVE

아니요

아니요

아니요

아니요

$$ROOT

Command 3.6 4.0 5.0 엘라스틱 클러스터

$meta

아니요

아니요

아니요

$search

아니요

아니요

아니요

유형 변환 연산자

Command 3.6 4.0 5.0 엘라스틱 클러스터

$convert

아니요

$isNumber

-

-

아니요

아니요

$toBool

아니요

$toDate

아니요

$toDecimal

아니요

$toDouble

아니요

$toInt

아니요

$toLong

아니요

$toObjectId

아니요

$toString

아니요

변수 연산자

Command 3.6 4.0 5.0 엘라스틱 클러스터

$let

$map

기타 연산자

Command 3.6 4.0 5.0 엘라스틱 클러스터

$getField

-

-

아니요

아니요

$rand

-

-

아니요

아니요

$sampleRate

-

-

아니요

아니요

데이터 타입

Command 3.6 4.0 5.0 엘라스틱 클러스터

32비트 정수(int)

64비트 정수(int)

배열

이진 데이터

날짜

DBPointer

아니요

아니요

아니요

아니요

DBREF

아니요

아니요

아니요

아니요

Decimal128

Double

JavaScript

아니요

아니요

아니요

아니요

JavaScript(범위 포함)

아니요

아니요

아니요

아니요

MaxKey

MinKey

Null

객체

ObjectId

정규식

String

Symbol

아니요

아니요

아니요

아니요

Timestamp

정의되지 않음

아니요

아니요

아니요

아니요

인덱스 및 인덱스 속성

인덱스

Command 3.6 4.0 5.0 엘라스틱 클러스터

2dsphere

2d 인덱스

아니요

아니요

아니요

아니요

복합 인덱스

해시된 인덱스

아니요

아니요

아니요

아니요

Multikey 인덱스

단일 필드 인덱스

텍스트 인덱스

아니요

아니요

아니요

인덱스 속성

Command 3.6 4.0 5.0 엘라스틱 클러스터

배경

아니요

대소문자 구분 안 함

아니요

아니요

아니요

아니요

부분

아니요

아니요

아니요

희소

TTL

고유