Get record count in Azure DocumentDb

后端 未结 8 1811
孤街浪徒
孤街浪徒 2021-02-03 18:44

It seems like \'select count(*) from c\' in the SQL queries allowed by documentdb in the azure site and through the documentdb explorer (https://studiodocumentdb.codeplex.com/)

8条回答
  •  被撕碎了的回忆
    2021-02-03 19:23

    Just to recap - here is example of Count Stored Procedure via JS with continuation support.

    And here is one more tool for DocumentDb that's pretty neat: https://github.com/mingaliu/DocumentDBStudio/releases

    Upd Mar 2017: In the latest DDB SDK see DDB Aggregates press release there is full support for basic aggregates, without GROUP BY though (for now). Here is GIT REpo with examples: https://github.com/arramac/azure-documentdb-dotnet/tree/master/samples/code-samples/Queries

提交回复
热议问题