我有一个使用 phantom v1.5.0 的查询,它有多个 orderBy 子句,因为 orderBy 函数需要一个或多个OrderingCondition
s。
在 1.11.0(实际上是 1.8.0)的更新中,查询 API 更改为仅允许一种排序条件。当我尝试链接orderBy
a时,第一个返回的SelectQuery
错误如下:SelectQuery
orderBy
Cannot prove that com.websudos.phantom.builder.Ordered =:= com.websudos.phantom.builder.Unordered
似乎 Ordered 不等于 Unordered 似乎很明显,但似乎也暗示您只能按一列总计排序。
如何orderBy
在新的 Phantom 查询 API 中添加多个 s?