Use Multiple API on COSMOS DB

MikeZheng-3371 46 Reputation points
2022-05-13T13:48:52.027+00:00

Can I use SQL API and Mongo API simultaneously on the same COSMOS DB? If so, how can I setup the system. Thanks!

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,901 questions
0 comments No comments
{count} votes

Accepted answer
  1. Hasan Savran 331 Reputation points MVP
    2022-05-13T14:20:38.403+00:00

    Hi Mike,
    Unfortunatelly, you can't use multiple APIs to pull/push data from the same database.

    Thank you

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. GeethaThatipatri-MSFT 29,542 Reputation points Microsoft Employee Moderator
    2022-05-13T14:29:54.507+00:00

    Hi, @MikeZheng-3371 Thanks for the ask and for using the Microsoft Q&A platform.
    As we understand you want to know if SQL API and Mongo API can be created on the same COSMOS DB.

    Unfortunately, this future is not supported, we support only a single API for a single DB.there is no cross API support.
    we would like to understand your use case for using two API on the same DB.

    Regards
    Geetha


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.