Is it possible to use MongoDB Views with Azure CosmosDB?
问题 I tried to create a view via Robo3T. The command executes successfully, but the view is always empty, no matter how I specify the aggregation pipeline for the view. Example: db.createView("testView","originCollection", [{ $project : { _id: 1 } }]) Does CosmosDB even support views for MongoDB? Edit: As Kevin Smith asked in comments db.testView.stats() returns: { "_t" : "CollStatsResponse", "ok" : 1, "ns" : "myDb.testView", "count" : 0.0, "size" : 0, "avgObjSize" : 0, "numExtents" : 0,