Subhopriyo
Subhopriyo

Reputation: 115

Does Azure function support bindings for Cosmos DB with Mongo Api? Are there any workarounds apart from using MongoClient

Does Azure function work with triggers,input,output bindings for CosmosDB with MongoApi? Are there any way past this apart from using a MongoClient?

Upvotes: 1

Views: 1198

Answers (1)

David Makogon
David Makogon

Reputation: 71068

As documented here, Cosmos DB bindings are specific to the SQL API.

For any other binding (such as MongoDB API, which you're asking about, or Cassandra, Gremlin, etc), you'd need to use a language-specific client SDK. In your case you'd need to work with a MongoDB client from your Azure Function.

Upvotes: 1

Related Questions