Search code examples
azure-cosmosdbazure-cosmosdb-mongoapiazure-cosmosdb-gremlinapi

Cosmos DB hybrid data APIs access (MongoDB & Gremin)


Is it possible to add data with the MongoDB APIs, then add edges between the documents with Gremlin, and query the same data with both APIs?


Solution

  • This is not possible today due to MongoDB's use of BSON which is not standard JSON. It is technically possible however to have SQL and Gremlin API within Cosmos DB.