Mongo $push operator doesnt work

Artur Shahbazyan 25 Reputation points

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

    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.