Skip to main content
Version: v1.24

Supported commands

Query commands

CommandArgumentStatusComments
deleteBasic command is fully supported
deletes
comment⚠️
let⚠️Unimplemented
ordered
writeConcern⚠️Ignored
q
limit
collationUnimplemented
hint⚠️Ignored
findBasic command is fully supported
filter
sort
projectionBasic projections with fields are supported
hint⚠️Ignored
skip⚠️
limit
batchSize
singleBatch
comment⚠️
maxTimeMS
readConcern⚠️Ignored
max⚠️Ignored
min⚠️Ignored
returnKeyUnimplemented
showRecordId
tailable
oplogReplay⚠️Ignored
noCursorTimeoutIssue
awaitData
allowPartialResultsUnimplemented
collationUnimplemented
allowDiskUse⚠️Ignored
letUnimplemented
findAndModifyBasic command is fully supported
query
sort
remove
update
new
upsert
bypassDocumentValidation⚠️Ignored
writeConcern⚠️Ignored
maxTimeMS
collationUnimplemented
arrayFiltersUnimplemented
hint⚠️Ignored
comment⚠️
let⚠️Unimplemented
getMoreBasic command is fully supported
batchSize
maxTimeMS
comment⚠️Unimplemented
insertBasic command is fully supported
documents
ordered
bypassDocumentValidation⚠️Ignored
comment⚠️Ignored
updateBasic command is fully supported
updates
ordered⚠️Ignored
writeConcern⚠️Ignored
bypassDocumentValidation⚠️Ignored
comment⚠️
let⚠️Unimplemented
q
u⚠️Issue
c⚠️Unimplemented
upsert
multi
collationUnimplemented
arrayFilters⚠️Unimplemented
hint⚠️Ignored

Update Operators

The following operators and modifiers are available in the update and findAndModify commands.

OperatorModifierStatusComments
$currentDate
$inc
$min
$max
$mul
$rename
$set
$setOnInsert
$unset
$⚠️Issue
$[]⚠️Issue
$[<identifier>]⚠️Issue
$addToSet✅️
$pop
$pull
$push✅️
$pullAll✅️
$each✅️
$position⚠️Issue
$slice⚠️Issue
$sort⚠️Issue
$bit✅️

Projection Operators

The following operators are available in the find command projection argument.

OperatorStatusComments
$✅️
$elemMatchIssue
$metaIssue
$sliceIssue

Query Plan Cache Commands

CommandArgumentStatusComments
planCacheClearIssue
query⚠️
projection⚠️
sort⚠️
comment⚠️
planCacheClearFiltersIssue
query⚠️
sort⚠️
projection⚠️
collationUnimplemented
comment⚠️
planCacheListFiltersIssue
comment⚠️
planCacheSetFilterIssue
query⚠️
sort⚠️
projection⚠️
collationUnimplemented
indexes⚠️
comment⚠️

Free Monitoring Commands

CommandArgumentStatusComments
setFreeMonitoringTelemetry reporting
action: "enable"--telemetry=enable
action: "disable"--telemetry=disable
getFreeMonitoringStatus

Database Operations

User Management Commands

CommandArgumentStatusComments
createUser
pwd⚠️
customData⚠️
roles⚠️
digestPassword⚠️
writeConcern⚠️
authenticationRestrictions⚠️
mechanisms⚠️
digestPassword⚠️
comment⚠️
dropAllUsersFromDatabase
writeConcern⚠️
comment⚠️
dropUser
writeConcern⚠️
comment⚠️
grantRolesToUserIssue
writeConcern⚠️
comment⚠️
revokeRolesFromUserIssue
roles⚠️
writeConcern⚠️
comment⚠️
updateUser
pwd
customData
roles
digestPassword
writeConcern
authenticationRestrictions
mechanisms
digestPassword
comment
usersInfo
showCredentials
showCustomData⚠️
showPrivileges⚠️
showAuthenticationRestrictions⚠️
filter⚠️Issue
comment⚠️

Authentication Commands

CommandArgumentStatusComments
authenticateIssue
getnonceDeprecated
logout
saslStart

Role Management Commands

CommandArgumentStatusComments
createRoleIssue
privileges⚠️
roles⚠️
authenticationRestrictions⚠️
writeConcern⚠️
comment⚠️
dropRoleIssue
writeConcern⚠️
comment⚠️
dropAllRolesFromDatabaseIssue
writeConcern⚠️
comment⚠️
grantPrivilegesToRoleIssue
privileges⚠️
writeConcern⚠️
comment⚠️
grantRolesToRoleIssue
roles⚠️
writeConcern⚠️
comment⚠️
invalidateUserCacheIssue
revokePrivilegesFromRoleIssue
privileges⚠️
writeConcern⚠️
comment⚠️
revokeRolesFromRoleIssue
roles⚠️
writeConcern⚠️
comment⚠️
rolesInfoIssue
showPrivileges⚠️
showBuiltinRoles⚠️
comment⚠️
updateRoleIssue
privileges⚠️
roles⚠️
authenticationRestrictions⚠️
writeConcern⚠️
comment⚠️

Replication Commands

CommandArgumentStatusComments
replSetInitiateIssue

Session Commands

Related issue.

Related issue.

CommandArgumentStatusComments
abortTransactionIssue
txnNumber⚠️
writeConcern⚠️
autocommit⚠️
comment⚠️
commitTransactionIssue
txnNumber⚠️
writeConcern⚠️
autocommit⚠️
comment⚠️
endSessionsIssue
killAllSessionsIssue
killAllSessionsByPatternIssue
killSessionsIssue
refreshSessionsIssue
startSessionIssue

Aggregation pipelines

Related issue.

CommandArgumentStatusComments
aggregate✅️
count
distinct

Aggregation pipeline stages

StageStatusComments
$addFields⚠️Issue
$bucketIssue
$bucketAutoIssue
$changeStreamIssue
$changeStreamIssue
$collStats⚠️Issue
$count✅️
$currentOpIssue
$densifyIssue
$documentsIssue
$documentsIssue
$facetIssue
$fillIssue
$geoNearIssue
$graphLookupIssue
$group✅️
$indexStatsIssue
$limit✅️
$listLocalSessionsIssue
$listSessionsIssue
$lookupIssue
$match
$mergeIssue
$outIssue
$planCacheStatsIssue
$project
$redactIssue
$replaceRootIssue
$replaceWithIssue
$sampleIssue
$searchIssue
$searchMetaIssue
$set⚠️Issue
$setWindowFieldsIssue
$skip✅️
$sort✅️
$sortByCountIssue
$unionWithIssue
$unset✅️
$unwind✅️

Aggregation pipeline operators

OperatorStatusComments
$absIssue
$accumulatorIssue
$acosIssue
$acoshIssue
$add (arithmetic)Issue
$add (date)Issue
$addToSetIssue
$allElementsTrueIssue
$andIssue
$anyElementTrueIssue
$arrayElemAtIssue
$arrayToObjectIssue
$asinIssue
$asinhIssue
$atanIssue
$atan2Issue
$atanhIssue
$avgIssue
$binarySizeIssue
$bottomIssue
$bottomNIssue
$bsonSizeIssue
$ceilIssue
$cmpIssue
$concatIssue
$concatArraysIssue
$condIssue
$convertIssue
$cosIssue
$coshIssue
$count✅️
$covariancePopIssue
$covarianceSampIssue
$dateAddIssue
$dateDiffIssue
$dateFromPartsIssue
$dateFromStringIssue
$dateSubtractIssue
$dateToPartsIssue
$dateToStringIssue
$dateTruncIssue
$dayOfMonthIssue
$dayOfWeekIssue
$dayOfYearIssue
$degreesToRadiansIssue
$denseRankIssue
$derivativeIssue
$divideIssue
$documentNumberIssue
$eqIssue
$expIssue
$expMovingAvgIssue
$filterIssue
$first (accumulator)Issue
$first (array operator)Issue
$firstNIssue
$floorIssue
$functionIssue
$getFieldIssue
$gtIssue
$gteIssue
$hourIssue
$ifNullIssue
$inIssue
$indexOfArrayIssue
$indexOfBytesIssue
$indexOfCPIssue
$integralIssue
$isArrayIssue
$isNumberIssue
$isoDayOfWeekIssue
$isoWeekIssue
$isoWeekYearIssue
$last (accumulator)Issue
$last (array operator)Issue
$lastNIssue
$letIssue
$linearFillIssue
$literalIssue
$lnIssue
$locfIssue
$logIssue
$log10Issue
$ltIssue
$lteIssue
$ltrimIssue
$mapIssue
$maxIssue
$maxNIssue
$mergeObjectsIssue
$metaIssue
$millisecondIssue
$minIssue
$minNIssue
$minuteIssue
$modIssue
$monthIssue
$multiplyIssue
$neIssue
$notIssue
$objectToArrayIssue
$orIssue
$powIssue
$pushIssue
$radiansToDegreesIssue
$randIssue
$rangeIssue
$rankIssue
$reduceIssue
$regexFindIssue
$regexFindAllIssue
$regexMatchIssue
$replaceAllIssue
$replaceOneIssue
$reverseArrayIssue
$roundIssue
$rtrimIssue
$sampleRateIssue
$secondIssue
$setDifferenceIssue
$setEqualsIssue
$setFieldIssue
$setIntersectionIssue
$setIsSubsetIssue
$setUnionIssue
$shiftIssue
$sinIssue
$sinhIssue
$sizeIssue
$sliceIssue
$sortArrayIssue
$splitIssue
$sqrtIssue
$stdDevPopIssue
$stdDevSampIssue
$strcasecmpIssue
$strLenBytesIssue
$strLenCPIssue
$substrIssue
$substrBytesIssue
$substrCPIssue
$subtract (arithmetic)Issue
$subtract (date)Issue
$sum (accumulator)✅️
$sum (operator)✅️
$switchIssue
$tanIssue
$tanhIssue
$toBoolIssue
$toDateIssue
$toDecimalIssue
$toDoubleIssue
$toIntIssue
$toLongIssue
$toLowerIssue
$toObjectIdIssue
$topIssue
$topNIssue
$toStringIssue
$toUpperIssue
$trimIssue
$truncIssue
$tsIncrementIssue
$tsSecondIssue
$typeIssue
$unsetFieldIssue
$weekIssue
$yearIssue
$zipIssue

Administration commands

CommandArgument / OptionPropertyStatusComments
cloneCollectionAsCapped
toCollection⚠️
size⚠️
writeConcern⚠️
comment⚠️
collModIssue
index⚠️
keyPattern⚠️
name⚠️
expireAfterSeconds⚠️
hidden⚠️
prepareUnique⚠️
unique⚠️
validator⚠️
validationLevel⚠️
validationAction⚠️
viewOn (Views)⚠️
pipeline (Views)⚠️
cappedSize⚠️
cappedMax⚠️
changeStreamPreAndPostImages⚠️
compact
force
comment⚠️
compactStructuredEncryptionData
compactionTokens⚠️
convertToCappedIssue
size⚠️
writeConcern⚠️
comment⚠️
create
capped✅️
timeseries⚠️Issue
timeField⚠️
metaField⚠️
granularity⚠️
expireAfterSeconds⚠️Issue
clusteredIndex⚠️
changeStreamPreAndPostImages⚠️
autoIndexId⚠️Issue
size✅️
max
storageEngine⚠️Ignored
validator⚠️Not implemented in PostgreSQL
validationLevel⚠️Unimplemented
validationAction⚠️Unimplemented
indexOptionDefaults⚠️Ignored
viewOn⚠️Unimplemented
pipeline⚠️Unimplemented
collationUnimplemented
writeConcern⚠️Ignored
encryptedFields⚠️
comment⚠️Ignored
createIndexes
indexes
key
name✅️
unique
partialFilterExpressionIssue
sparseIssue
expireAfterSecondsIssue
hiddenUnimplemented
storageEngineUnimplemented
weightsUnimplemented
default_languageUnimplemented
language_overrideUnimplemented
textIndexVersionUnimplemented
2dsphereIndexVersionUnimplemented
bitsUnimplemented
minUnimplemented
maxUnimplemented
bucketSizeUnimplemented
collationUnimplemented
wildcardProjectionUnimplemented
writeConcern⚠️
commitQuorum⚠️
comment⚠️
currentOpIssue
$ownOps⚠️
$all⚠️
comment⚠️
drop
writeConcern⚠️Ignored
comment⚠️Ignored
dropDatabase
writeConcern⚠️Ignored
comment⚠️Ignored
dropConnectionsIssue
hostAndPort⚠️
comment⚠️
dropIndexes
index
writeConcern⚠️Ignored
comment⚠️Ignored
filemd5
fsync
fsyncUnlock
lock⚠️
comment⚠️
getDefaultRWConcern
inMemory⚠️
comment⚠️
getClusterParameter
getParameter
comment⚠️
killCursors
cursors
comment⚠️
killOpIssue
op⚠️
comment⚠️
listCollections
filter
nameOnly
authorizedCollections⚠️Issue
comment⚠️
listDatabases
filter
nameOnly
authorizedDatabases⚠️Issue
comment⚠️Ignored
listIndexes
cursor.batchSize⚠️Ignored
comment⚠️Ignored
logRotateIssue
<target>⚠️
comment⚠️
reIndexIssue
renameCollection
toIssue
dropTarget⚠️Issue
writeConcern⚠️Ignored
comment⚠️Ignored
rotateCertificates
setFeatureCompatibilityVersion
setIndexCommitQuorum
setIndexCommitQuorum⚠️
indexNames⚠️
commitQuorum⚠️
comment⚠️
setParameterIssue
setDefaultRWConcern
defaultReadConcern⚠️
defaultWriteConcern⚠️
writeConcern⚠️
comment⚠️
shutdownIssue
force⚠️
timeoutSecs⚠️
comment⚠️

Diagnostic commands

CommandArgumentStatusComments
buildInfoBasic command is fully supported
collStatsBasic command is fully supported
collStats
scale
connPoolStatsUnimplemented
connectionStatusBasic command is fully supported
showPrivileges
dataSizeBasic command is fully supported
keyPattern⚠️Unimplemented
min⚠️Unimplemented
max⚠️Unimplemented
estimate⚠️Ignored
dbHashUnimplemented
collection⚠️
dbStatsBasic command is fully supported
scale
freeStorage⚠️Unimplemented
driverOIDTest⚠️Unimplemented
explainBasic command is fully supported
verbosity⚠️Ignored
comment⚠️Unimplemented
featuresUnimplemented
getCmdLineOptsBasic command is fully supported
getLogBasic command is fully supported
hostInfoBasic command is fully supported
_isSelfUnimplemented
listCommandsBasic command is fully supported
lockInfoUnimplemented
netstatUnimplemented
pingBasic command is fully supported
profileUnimplemented
slowms⚠️
sampleRate⚠️
filter⚠️
serverStatusBasic command is fully supported
shardConnPoolStatsUnimplemented
topUnimplemented
validateBasic command is fully supported
full⚠️
repair⚠️
metadata⚠️
checkBSONConformance⚠️
validateDBMetadataUnimplemented
apiParameters⚠️
db⚠️
collections⚠️
whatsmyuriBasic command is fully supported