Order By 在 Azure Web Document Explorer 中不起作用

Order By not working in Azure Web Document Explorer

我正在尝试在 Azure Web 文档资源管理器中查询 documentdb。问题是 Order By 似乎不再起作用了。

例如下面的查询:

SELECT * FROM c
WHERE c.type="myType" ORDER BY c.createdDate 

当被查询时,我收到一条红色警报:

Failed to get documents. Please try again.

如果我删除 Order By 它就可以正常工作。 知道为什么使用 Order By 查询不再有效吗?

Any idea why it doesn't work anymore to query with Order By?

Order By 只能针对 属性、numericString 指定,当它是使用最大精度 (-1)。更多详情请参考document

You also cannot perform the following:

Order By with internal string properties like id, _rid, and _self (coming soon).

Order By with properties derived from the result of an intra-document join (coming soon).

Order By multiple properties (coming soon).

Order By with queries on databases, collections, users, permissions or attachments (coming soon).

Order By with computed properties e.g. the result of an expression or a UDF/built-in function