如何获得DocDbWrapperScript.js?

时间:2015-02-21 17:50:50

标签: azure azure-cosmosdb

Azure DocumentDB .NET(和Node.JS)代码示例包含以上针对sprocs和UDF的注释:

// Register DocDB JavaScript server API for intelisense: 
//   either add the file to Tools->Options->Text Editor->JavaScript->Intellisense->References and reference the group registered 
//   or provide path to the file explicitly.
/// <reference group="Generic" />
/// <reference path="C:\Program Files (x86)\Microsoft Visual Studio 12.0\JavaScript\References\DocDbWrapperScript.js" />

我不知道在哪里可以获得DocDbWrapperScript.js。 Google只返回5页,这些都是来自&#34; DocDbWrapperScript.js&#34;的自动生成的文档。在微软的网站上。

我检查了Node.Js SDK源代码,但没有找到它。如果有人知道在哪里找到这个,我真的很感激这个秘密!

2 个答案:

答案 0 :(得分:2)

您可以在DocumentDB JS Github上找到DocDbWrapperScript.js:

https://github.com/Azure/azure-documentdb-js-server/blob/master/utils/DocDbWrapperScript.js

答案 1 :(得分:0)