Skip to main content

Supported Features

The section below lists the MongoDB operations that are supported while using MongoDB client SDKs with Tigris. We have also listed the equivalent operation using the Tigris SDKs.

We will add additional functionality based on the feedback we receive from the Tigris community.

CRUD operations

Create operations

The following MongoDB methods are supported to to insert documents into a collection:

MongoDB driversTigris SDKs
db.collection.insertOne()collection.insertOne()
db.collection.insertMany()collection.insertMany()

Read operations

The following MongoDB methods are supported to read documents from a collection:

MongoDB driversTigris SDKs
db.collection.findOne()collection.findOne()
db.collection.find()collection.findMany()

Update operations

The following MongoDB methods are supported to update documents of a collection:

MongoDB driversTigris SDKs
db.collection.updateOne()collection.updateOne()
db.collection.updateMany()collection.updateMany()
db.collection.replaceOne()collection.insertOrReplaceOne()

Delete operations

The following MongoDB methods are supported to delete documents of a collection:

MongoDB driversTigris SDKs
db.collection.deleteOne()collection.deleteOne()
db.collection.deleteMany()collection.deleteMany()

Aggregation operations

The aggregation operations in MongoDB can either be performed through aggregation pipelines or single-purpose aggregation methods.

Aggregation pipelines

The aggregation pipelines comprise one or more stages that process the documents.

The db.collection.aggregate() MongoDB method is supported along with the following stages:

MongoDB drivers
$count
$group
$match
$sort

Single-purpose aggregation methods

The supported single-purpose aggregation methods are shown below:

MongoDB drivers
db.collection.count()
db.collection.distinct()

Administration operations

The following MongoDB methods are supported:

MongoDB driversTigris SDKs
createdb.createOrUpdateCollection()
dropdb.dropCollection()
dropDatabasedb.dropAllCollections()
listCollectionsdb.listCollections()
listDatabases-