DocumentDB,是否可以从 SP 中调用 UDF?

DocumentDB, Is it possible to call UDF from within a SP?

在 Azure DocumentDB 中,是否可以从 SP 中调用 UDF?

很遗憾,这不受支持。但是,您可以将 UDF 代码作为函数包含在 sproc 本身中。 documentdb-utils 具有以模块化方式将代码包含到存储过程中的功能,因此您可以维护 DRY 原则。