Mongo $push operator doesnt work

Artur Shahbazyan 25 Reputation points
2024-04-02T08:05:03.9133333+00:00

Mongo $push operator doesn't work, i get an error that $push hasn't been implemented yet, but I saw documentation that says that the $push operator is supported

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,838 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ShaktiSingh-MSFT 13,271 Reputation points Microsoft Employee
    2024-04-03T08:21:11.37+00:00

    Hi @Artur Shahbazyan ,

    Welcome to Microsoft Q&A forum.

    As I understand, you want to know why $push operator does not work for your Azure Cosmos MongoDB.

    If you're trying out Cosmos DB for MongoDB vCore, $push aggregation operator in $group stage is not supported with vCore yet. The official documentation is for Cosmos DB for MongoDB RU.

    Hope this helps.

    Thanks