Skip to main content

Supported commands

Query commands

CommandArgumentStatusComments
deleteBasic command is fully supported
deletes
comment⚠️Ignored in Tigris
let⚠️Unimplemented
ordered
writeConcern⚠️Ignored
q
limit
collation⚠️Unimplemented
hintUnimplemented
findBasic command is fully supported
filter
sort
projectionBasic projections with fields are supported
hintIgnored
skip⚠️
limit
batchSize⚠️Issue
singleBatch⚠️Issue
comment⚠️Not implemented in Tigris
maxTimeMS
readConcern⚠️Ignored
max⚠️Ignored
min⚠️Ignored
returnKeyUnimplemented
showRecordIdUnimplemented
tailableUnimplemented
oplogReplayUnimplemented
noCursorTimeoutUnimplemented
awaitDataUnimplemented
allowPartialResultsUnimplemented
collationUnimplemented
allowDiskUse⚠️Ignored
letUnimplemented
findAndModifyBasic command is fully supported
query
sort
remove
update
new
upsert
bypassDocumentValidation⚠️Ignored
writeConcern⚠️Ignored
maxTimeMS
collation⚠️Ignored
arrayFiltersUnimplemented
hintIgnored
comment⚠️Not implemented in Tigris
let⚠️Unimplemented
getMoreBasic command is fully supported
batchSize
maxTimeMS⚠️Issue
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⚠️Ignored in Tigris
let⚠️Unimplemented
q
uTODO check if u is an array of aggregation pipeline stages
c⚠️Unimplemented
upsert
multi
collation⚠️Unimplemented
arrayFilters⚠️Unimplemented
hint⚠️Unimplemented

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⚠️Issue
$push✅️
$pullAll✅️
$each✅️
$position⚠️Issue
$slice⚠️Issue
$sort⚠️Issue
$bit⚠️Issue

Projection Operators

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

OperatorStatusComments
$Issue
$elemMatchIssue
$metaIssue
$sliceIssue

Query Plan Cache Commands

Related epic - Issue.

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

Free Monitoring Commands

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

Database Operations

User Management Commands

CommandArgumentStatusComments
createUserIssue
pwd⚠️
customData⚠️
roles⚠️
digestPassword⚠️
writeConcern⚠️
authenticationRestrictions⚠️
mechanisms⚠️
digestPassword⚠️
comment⚠️
dropAllUsersFromDatabaseIssue
writeConcern⚠️
comment⚠️
dropUserIssue
writeConcern⚠️
comment⚠️
grantRolesToUserIssue
writeConcern⚠️
comment⚠️
revokeRolesFromUserIssue
roles⚠️
writeConcern⚠️
comment⚠️
updateUserIssue
pwd⚠️
customData⚠️
roles⚠️
digestPassword⚠️
writeConcern⚠️
authenticationRestrictions⚠️
mechanisms⚠️
digestPassword⚠️
comment⚠️
usersInfoIssue
showCredentials⚠️
showCustomData⚠️
showPrivileges⚠️
showAuthenticationRestrictions⚠️
filter⚠️
comment⚠️

Authentication Commands

CommandArgumentStatusComments
authenticateIssue

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⚠️

Session Commands

Related epic - Issue

Related epic - Issue

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

Aggregation pipelines

The epic - Issue.

CommandArgumentStatusComments
aggregate✅️
count
distinct
Stages and operators

Aggregation collection stages

db.collection.aggregate()
StageStatusComments
$addFields, $set⚠️Issue
$bucket, $bucketAuto⚠️Issue
$changeStream⚠️Issue
$collStats⚠️Issue
$count✅️
$densify⚠️Issue
$documents⚠️Issue
$facet⚠️Issue
$fill⚠️Issue
$geoNear⚠️Issue
$graphLookup⚠️Issue
$group✅️
$indexStats⚠️Issue
$limit⚠️Issue
$listSessions⚠️Issue
$lookup⚠️Issue
$match
$merge⚠️Issue
$out⚠️Issue
$planCacheStats⚠️Issue
$project, $unset⚠️Issue
$redact⚠️Issue
$replaceRoot, $replaceWith⚠️Issue
$sample⚠️Issue
$search, $searchMeta⚠️Issue
$setWindowFields⚠️Issue
$skip⚠️Issue
$sort✅️
$sortByCount⚠️Issue
$unionWith⚠️Issue
$unwind⚠️Issue

Aggregation database stages

db.aggregate()
StageStatusComments
$changeStream⚠️Issue
$currentOp⚠️Issue
$listLocalSessions⚠️Issue
$documents⚠️Issue

Aggregation pipeline operators

OperatorStatusComments
$abs⚠️Issue
$accumulator⚠️Issue
$acos⚠️Issue
$acosh⚠️Issue
$add (arithmetic operator)⚠️Issue
$add (date operator)⚠️Issue
$addToSet⚠️Issue
$allElementsTrue⚠️Issue
$and⚠️Issue
$anyElementTrue⚠️Issue
$arrayElemAt⚠️Issue
$arrayToObject⚠️Issue
$asin⚠️Issue
$asinh⚠️Issue
$atan⚠️Issue
$atan2⚠️Issue
$atanh⚠️Issue
$avg⚠️Issue
$binarySize⚠️Issue
$bottom⚠️Issue
$bottomN⚠️Issue
$bsonSize⚠️Issue
$ceil⚠️Issue
$cmp⚠️Issue
$concat⚠️Issue
$concatArrays⚠️Issue
$cond⚠️Issue
$convert⚠️Issue
$cos⚠️Issue
$cosh⚠️Issue
$count✅️
$covariancePop⚠️Issue
$covarianceSamp⚠️Issue
$dateAdd⚠️Issue
$dateDiff⚠️Issue
$dateFromParts⚠️Issue
$dateSubtract⚠️Issue
$dateTrunc⚠️Issue
$dateToParts⚠️Issue
$dateFromString⚠️Issue
$dateToString⚠️Issue
$dayOfMonth⚠️Issue
$dayOfWeek⚠️Issue
$dayOfYear⚠️Issue
$degreesToRadians⚠️Issue
$denseRank⚠️Issue
$derivative⚠️Issue
$divide⚠️Issue
$documentNumber⚠️Issue
$eq⚠️Issue
$exp⚠️Issue
$expMovingAvg⚠️Issue
$filter⚠️Issue
$first (array operator)⚠️Issue
$first (accumulator)⚠️Issue
$firstN⚠️Issue
$floor⚠️Issue
$function⚠️Issue
$getField⚠️Issue
$gt⚠️Issue
$gte⚠️Issue
$hour⚠️Issue
$ifNull⚠️Issue
$in⚠️Issue
$indexOfArray⚠️Issue
$indexOfBytes⚠️Issue
$indexOfCP⚠️Issue
$integral⚠️Issue
$isArray⚠️Issue
$isNumber⚠️Issue
$isoDayOfWeek⚠️Issue
$isoWeek⚠️Issue
$isoWeekYear⚠️Issue
$last (array operator)⚠️Issue
$last⚠️Issue
$lastN⚠️Issue
$let⚠️Issue
$linearFill⚠️Issue
$literal⚠️Issue
$ln⚠️Issue
$locf⚠️Issue
$log⚠️Issue
$log10⚠️Issue
$lt⚠️Issue
$lte⚠️Issue
$ltrim⚠️Issue
$map⚠️Issue
$max⚠️Issue
$maxN⚠️Issue
$mergeObjects⚠️Issue
$meta⚠️Issue
$min⚠️Issue
$minN⚠️Issue
$millisecond⚠️Issue
$minute⚠️Issue
$mod⚠️Issue
$month⚠️Issue
$multiply⚠️Issue
$ne⚠️Issue
$not⚠️Issue
$objectToArray⚠️Issue
$or⚠️Issue
$pow⚠️Issue
$push⚠️Issue
$radiansToDegrees⚠️Issue
$rand⚠️Issue
$range⚠️Issue
$rank⚠️Issue
$reduce⚠️Issue
$regexFind⚠️Issue
$regexFindAll⚠️Issue
$regexMatch⚠️Issue
$replaceOne⚠️Issue
$replaceAll⚠️Issue
$reverseArray⚠️Issue
$round⚠️Issue
$rtrim⚠️Issue
$sampleRate⚠️Issue
$second⚠️Issue
$setDifference⚠️Issue
$setEquals⚠️Issue
$setField⚠️Issue
$setIntersection⚠️Issue
$setIsSubset⚠️Issue
$setUnion⚠️Issue
$shift⚠️Issue
$size⚠️Issue
$sin⚠️Issue
$sinh⚠️Issue
$slice⚠️Issue
$sortArray⚠️Issue
$split⚠️Issue
$sqrt⚠️Issue
$stdDevPop⚠️Issue
$stdDevSamp⚠️Issue
$strcasecmp⚠️Issue
$strLenBytes⚠️Issue
$strLenCP⚠️Issue
$substr⚠️Issue
$substrBytes⚠️Issue
$substrCP⚠️Issue
$subtract (arithmetic operator)⚠️Issue
$subtract (date operator)⚠️Issue
$sum⚠️Issue
$switch⚠️Issue
$tan⚠️Issue
$tanh⚠️Issue
$toBool⚠️Issue
$toDate⚠️Issue
$toDecimal⚠️Issue
$toDouble⚠️Issue
$toInt⚠️Issue
$toLong⚠️Issue
$toObjectId⚠️Issue
$top⚠️Issue
$topN⚠️Issue
$toString⚠️Issue
$toLower⚠️Issue
$toUpper⚠️Issue
$trim⚠️Issue
$trunc⚠️Issue
$tsIncrement⚠️Issue
$tsSecond⚠️Issue
$type⚠️Issue
$unsetField⚠️Issue
$week⚠️Issue
$year⚠️Issue
$zip⚠️Issue

Administration commands

CommandArgument / OptionPropertyStatusComments
listCollectionsBasic command is fully supported
filter
nameOnlyIssue
comment⚠️Ignored
authorizedCollections⚠️Ignored
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⚠️
convertToCapped
size⚠️
writeConcern⚠️
comment⚠️
createBasic command is fully supported
capped⚠️Unimplemented
timeseries⚠️Unimplemented
⚠️
timeField⚠️
metaField⚠️
granularity⚠️
expireAfterSeconds⚠️Unimplemented
clusteredIndex⚠️
changeStreamPreAndPostImages⚠️
autoIndexId⚠️Ingored
size⚠️Unimplemented
max⚠️Unimplemented
storageEngine⚠️Ingored
validator⚠️Not implemented in PostgreSQL
validationLevel⚠️Unimplemented
validationAction⚠️Unimplemented
indexOptionDefaults⚠️Ingored
viewOn⚠️Unimplemented
pipeline⚠️Unimplemented
collation⚠️Unimplemented
writeConcern⚠️Ingored
encryptedFields⚠️
comment⚠️Ingored
createIndexesIssue
indexes⚠️
key⚠️
name⚠️
background⚠️
unique⚠️
partialFilterExpression⚠️
sparse⚠️
expireAfterSeconds⚠️
hidden⚠️
storageEngine⚠️
weights⚠️
default_language⚠️
language_override⚠️
textIndexVersion⚠️
2dsphereIndexVersion⚠️
bits⚠️
min⚠️
max⚠️
bucketSize⚠️
collation⚠️
wildcardProjection⚠️
writeConcern⚠️
commitQuorum⚠️
comment⚠️
currentOpIssue
$ownOps⚠️
$all⚠️
comment⚠️
dropBasic command is fully supported
writeConcern⚠️Ingored
comment⚠️Ingored
dropDatabaseBasic command is fully supported
writeConcern⚠️Ingored
comment⚠️Ingored
dropConnectionsIssue
hostAndPort⚠️
comment⚠️
dropIndexesIssue
index⚠️
writeConcern⚠️
comment⚠️
filemd5
fsync
fsyncUnlock
lock⚠️
comment⚠️
getDefaultRWConcern
inMemory⚠️
comment⚠️
getClusterParameter
getParameter
comment⚠️
killCursorsIssue
cursors⚠️
comment⚠️
killOpIssue
op⚠️
comment⚠️
listCollectionsBasic command is fully supported
filter⚠️Issue
nameOnly⚠️Issue
authorizedCollections⚠️
comment⚠️
listDatabasesBasic command is fully supported
filter
nameOnly
authorizedDatabases⚠️Ingored
comment⚠️Ingored
listIndexes
cursor.batchSize⚠️Ignored
comment⚠️Ignored
logRotateIssue
<target>⚠️
comment⚠️
reIndexIssue
renameCollectionIssue
to⚠️
dropTarget⚠️
writeConcern⚠️
comment⚠️
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
validateUnimplemented
full⚠️
repair⚠️
metadata⚠️
validateDBMetadataUnimplemented
apiParameters⚠️
db⚠️
collections⚠️
whatsmyuriBasic command is fully supported